Database error; SQL syntax
-
Doing a search for this I couldn’t find a specific thread that dealt with comments initiating this issue:
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 comment_approved = ‘1’ ORDER BY comment_date_gmt DESC LIMIT 15′ at line 1 for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = AND comment_approved = ‘1’ ORDER BY comment_date_gmt DESC LIMIT 15
I do recall generating this error when I was using the OpenID plugin, but I gave up on that ages ago. I can’t figure out what is causing the error because I personally can’t seem to recreate it.
Suggestions? I’m totally lost!
- The topic ‘Database error; SQL syntax’ is closed to new replies.