WordPress DataBase Error
-
I am getting the following error on http://www.bayareaball.org. This error is also visible on the Dashboard of new users who register for my website!
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 post_type = 'post' GROUP BY post_status' at line 1] SELECT post_status, COUNT( * ) AS num_posts FROM wp_posts WHERE AND post_type = 'post' GROUP BY post_statusI have the following plugins installed:
AddThis Social Bookmarking Widget
Akismet
CaPa Protect (THIS WAS INSTALLED AFTER THE PROBLEM STARTED)
Fast Secure Contact Form
Google Analyticator
LeagueManager (THIS WAS INSTALLED AFTER THE PROBLEM STARTED)
MCE Table Buttons (THIS WAS INSTALLED AFTER THE PROBLEM STARTED)
MiniMeta Widget
Register Plus (NOT ACTIVE)I deactivated Register Plus because when I tried registering as a new user, I got the following error:
Catchable fatal error: Object of class WP_Error could not be converted to string in /home/baba/public_html/wp-includes/formatting.php on line 2772When I deactivated the plugin, I was able to register without a problem, but that’s when I discovered the database error listed above.
Also, when I log in with my admin login, I go straight to wp-admin, and if I open the public site in a new tab, it shows that I am not logged in. I cannot view the public site as a logged in user, which is really a pain because I have some protected pages on there that I need to view logged in (with CaPa Protect).
Thanks for your help!
Karen
The topic ‘WordPress DataBase Error’ is closed to new replies.