Timestamp error
-
Hello, I have an issue with WP-TopBar plugin. After migrating to a new server, I receive this error, every time I interact with the plugin:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AND COALESCE(TIMESTAMPDIFF( MINUTE, COALESCE(STR_TO_DATE( ‘2014-10-22 08:46:34’ at line 5]
SELECT 1 FROM wp_wp_topbar_data WHEREbar_id
= AND COALESCE(TIMESTAMPDIFF( MINUTE, COALESCE(STR_TO_DATE( ‘2014-10-22 08:46:34’, ‘%Y-%m-%d %H:%i’ ), 0), COALESCE(STR_TO_DATE(start_time_utc
, ‘%m/%d/%Y %H:%i’ ), 0)),0)I receive this error doing any action, from clicking on a menu (like Main Options or Control) to updating changes (clicking on the green update button at the bottom).
And everytime an error occurs, it duplicates entries in the wp_wp_topbar_data table.
I already contacted the hosting company and they say their db is ok.
Can you help me?
I already deleted and reinstalled the plugin.
It’s not a conflict problem with other plugins because it worked with the same configuration before moving to the new server.Thanks
- The topic ‘Timestamp error’ is closed to new replies.