Support » Fixing WordPress » SQL Error

  • The following error is popping up in my error log over the last few weeks:

    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 DESC LIMIT 1′ at line 1 for query SELECT comment_date FROM wp_comments WHERE comment_date > FROM_UNIXTIME(1201144312) AND comment_post_ID = AND comment_approved = ‘1’ ORDER BY comment_date DESC LIMIT 1

    I’ve disabled all plugins, but it hasn’t helped. Anyone have any ideas?

Viewing 1 replies (of 1 total)
  • Can you, pls, post the whole SQL statement here? Just the error does not tell the whole story as it is missing a lot of information.

    __________________
    [signature moderated Please read the Forum Rules]

Viewing 1 replies (of 1 total)
  • The topic ‘SQL Error’ is closed to new replies.