Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
05/25/2017 at 11:09 am #424079Cre8vMomParticipantThis reply has been marked as private.05/25/2017 at 12:01 pm #424093
Ok, I’m logged into both the WP admin and FTP. I’m taking a look now. I’ll let you know what I discover.05/25/2017 at 12:17 pm #424094
Hmmm. I added a test entry (unlisted) with an anniversary. Now second date was added. So, I edited the entry making just a minor change. Again no second date added after making the edit. So I edited again changing the date. No second date was added.
So… new entries seems to be fine. Or maybe not. I found an entry just added days again and it has three anniversary dates…
Can you give me the correct dates for Emeanuel A. and Tara A. I’d like to edit them to to see what happens.05/25/2017 at 12:32 pm #424096Cre8vMomParticipant
02/28/2018 – emeanuel a
Just thought of something – could it be because it is a date in the future?05/25/2017 at 12:46 pm #424099
re: Just thought of something – could it be because it is a date in the future?
Do not think so. On my test entry using a date in the future had no effect. It worked just fine.
The Emeanuel A. entry is experiencing the issue, so that at least gives me something to work with.05/25/2017 at 1:44 pm #424134plzitGuest
Yesterday I found that PHP had the wrong time zone, but I’ve since corrected and rebooted. I’ve now verified that WordPress, PHP, and MYSQL all have the correct time, but the issue is still there.
I deleted the plugin and reinstalled an older version I had backed up, but it didn’t work. I suspect the database/config is already hosed.
What’s the easiest way to remove all database/config data for the plugin (total wipe)? I’d like to then test fresh installs of both the old and new versions. We desperately need the sidebar widget functionality for anniversaries and birthdates working again.
Can I setup a GoToMeeting for you to access the site and Linux shell?05/25/2017 at 2:39 pm #424137
Ok, spent quite a bit of time tracking down where the date was being changed. I was using a core WP function to create a datetime object to work with for comparisons. Perhaps there was a recent change to this function that caused my code to utilizing it, in you specific instance, to return the incorrect date.
Why, honestly, dunno. I used a native PHP function instead and it works fine on my dev site and you site. I’ll keep this tweak in the next Connections update … hoping it does not cause an issue for others.
The bad news, these duplicate dates exist in the database, so for the entries that have them, they will need to be edited to be removed.
Apologies for the trouble!05/25/2017 at 2:52 pm #424147plzitGuest
Can I beta test the new version? If not, how long will it be before it’s released?
We only tested dates with one user object, so we should be ok going forward.
I appreciate all your help in tracking down this bug!05/25/2017 at 2:52 pm #424148
Open this file,
class.entry-data.php, found here:
Scroll to line
3498which should be this:
return date_i18n( $format, strtotime( gmdate( 'r', $nextUDay ) ), TRUE );
Change it to this:
return gmdate( $format, $nextUDay );
Does that fix it for you too?05/25/2017 at 3:37 pm #424154plzitGuest
It works beautifully! Thank you so much!!!
You cannot reply to this support topic. Please open your own support topic.