MySQL error
-
After a recent update, the following appeared on the Event section in my dashboard.
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 ‘post_author=$current_user->ID’ at line 1]
SELECT wp_posts.*, meta_value as sked FROM wp_posts JOIN wp_postmeta ON wp_postmeta.post_id = wp_posts.ID WHERE BINARYmeta_key
REGEXP ‘_sked_[A-Z].+’ and meta_value AND post_status=’publish’ GROUP BY wp_posts.ID ORDER BY post_titleAND post_author=$current_user->IDAny ideas? Adding events does seem to still work.
Thank you, jim
- The topic ‘MySQL error’ is closed to new replies.