SQL Error
-
When we access a resource such as
http://www.blog.com/index.php/page/%5Bwhatever%5D/feed
The following SQL error is generated:
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 for query SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = AND comment_approved = ‘1’ ORDER BY comment_date_gmt DESC LIMIT 20
Go figure it out! I did.
The topic ‘SQL Error’ is closed to new replies.