SQL Error (2 posts)

  1. fooddude
    Posted 8 years ago #

    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?

  2. xjessie007@yahoo.com
    Posted 7 years ago #

    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]

Topic Closed

This topic has been closed to new replies.

About this Topic