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 22.214.171.124 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!