Title: This error in the log every days
Last modified: August 19, 2016

---

# This error in the log every days

 *  [minimalnet](https://wordpress.org/support/users/minimalnet/)
 * (@minimalnet)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/error-log-1/)
 * Hi!. Why I have this error EVERY day many times in my blog log?. What means that?.
 * > [12-Feb-2008 15:05:57] 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

Viewing 1 replies (of 1 total)

 *  [mccormicky](https://wordpress.org/support/users/mccormicky/)
 * (@mccormicky)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/error-log-1/#post-696511)
 * Doesn’t anyone know the answer to this error?
    Surely someone knows what’s up
   with this! I’ve searched and searched for the way to fix this error but all I
   see are unaswered/unresolved questions related to this exact problem. I’m getting
   this exact error message word for word in a totally up to date version of wordpress.

Viewing 1 replies (of 1 total)

The topic ‘This error in the log every days’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [log](https://wordpress.org/support/topic-tag/log/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [mccormicky](https://wordpress.org/support/users/mccormicky/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/error-log-1/#post-696511)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
