• On post paging, archives etc, there are sporadic “entries” in my blog that appear as WordPress Database Errors.

    The post container reads:

    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″ at line 1] SELECT COUNT(comment ID) FROM wp_comments WHERE comment_post_ID = AND comment_approved = ‘1’;

    I just noticed this error yesterday. I did upgrade to 1.5.1.3 last week (replaced necessary files after backing up same files). I’m no database programmer but I know how to get in there and make adjustments to lines (with help). Can anyone help me with this?

    Thanks in advance!

Viewing 3 replies - 16 through 18 (of 18 total)
Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Database Comment_Approved Error’ is closed to new replies.