New and need help with error message please (1 post)

  1. Lee2007
    Posted 7 years ago #

    Hi :)

    I started a noticeboard quite a while ago, but it had to be put on hold. At the time everything worked fine, however now when I click on the Comments RSS, on all the inner pages, such as this page for example (it's a clients site and don't want it picked up by the SE, hense why I am not posting it as a link :)

    http://locumocean dot com/Noticeboard/?page_id=19

    This is the error message

    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]
    SELECT wp_comments.* FROM wp_comments WHERE comment_post_ID = AND comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 10

    However the Comments RSS on the homepage works fine.

    I need to get this sorted asap, so would be greatful of any help.



Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.