I am getting the following error log in my hosting panel:
[21-Mar-2008 13:14:59] 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 10' 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 10
This is pretty annoying and i want to know if someone was able to solve it. I have search on the web and no one has a response.
- The topic ‘You have an error in your SQL syntax’ is closed to new replies.