amynmcgrath
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Sparkling] Social Media Icon MissingHaving the same problem. Social Media Icons disappeared and there doesn’t seem to be a place anymore to update Social Media links.
Modify
the-events-calendar.class.php
Find:
const DBDATETIMEFORMAT = 'Y-m-d G:i:s';
Change to:
const DBDATETIMEFORMAT = 'Y-m-d';
Well done, tarikouz. Looks like this fix works… at least for now. Thanks a bunch!
Agree. None of these fixes work.
Today’s events disappeared off the homepage upcoming events again. Does anyone else have any ideas? Perhaps their ‘premium events calendar’ works?
An upgrade to the plugin must have wiped out my fix (forgot about that).
NOTE: I cannot make this code change inside the plugin editor in WordPress. I am able to make my ‘fix’ work only if I change it directly on the server through a text editor. May want to try that, urban1.
Apparently this issue has cropped up again. I’ve checked my code and my ‘fix’ is there, but again I’ve got events disappearing from the upcoming events a few hours before they should. Anyone else have any ideas? I’ll keep trying things and will let you know if I figure it out.
Would appreciate some help from the plug-in developer. It’s a great plug-in, but this is a bug that needs to be fixed.
Not sure how to help. My fix (above) is still working for me with no problems. Do you have the latest version of WordPress installed?
Did you make sure you have the time set correctly in your WordPress installation? Not sure why the solution works for some and not for others. My fix is still working for me.
Modify
the-events-calendar.class.php
$query = " SELECT * FROM $wpdb->posts LEFT JOIN $wpdb->postmeta ON($wpdb->posts.ID = $wpdb->postmeta.post_id) WHERE $wpdb->postmeta.meta_key = '_EventStartDate' AND $wpdb->postmeta.meta_value = CURRENT_DATE()";
instead of
CURRENT_DATE()
replace withdate()