Ready to get started?Download WordPress


comments_rss_link Bug (2 posts)

  1. Jeremy Clark
    Posted 7 years ago #

    I've looked through trac and didn't see anything about this. Just wondering if anyone else can confirm this bug. When using the default permalinks settings and using the comments_rss_link function to display comments for a page clicking on the link it generates causes a mysql syntax error. The complete error follows.

    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 wp2_comments.* FROM wp2_comments WHERE comment_post_ID = AND comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 10
  2. WteRry
    Posted 6 years ago #

    I've got the same err.

Topic Closed

This topic has been closed to new replies.

About this Topic