{"id":684622,"date":"2008-01-22T19:32:26","date_gmt":"2008-01-22T19:32:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/error-i-think-this-must-be-a-bug-1\/"},"modified":"2016-08-19T00:11:18","modified_gmt":"2016-08-19T00:11:18","slug":"error-i-think-this-must-be-a-bug-1","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/error-i-think-this-must-be-a-bug-1\/","title":{"rendered":"Error, I think this is a BUG"},"content":{"rendered":"<p>Hi, first sorry by my bad english.<\/p>\n<p>For some days ago I am receiving an error in the log of my blog. This is the error:<\/p>\n<blockquote>\n<p>[22-Jan-2008 13:11:34] 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 &#8216;AND comment_approved = &#8216;1&#8217; ORDER BY comment_date_gmt DESC LIMIT 10&#8242; at line 1 for query SELECT wp_comments.* FROM wp_comments  WHERE comment_post_ID =  AND comment_approved = &#8216;1&#8217; ORDER BY comment_date_gmt DESC LIMIT 10<\/p>\n<\/blockquote>\n<p>Tresting and testing to discover what happens, activating, deactivating plugins, etc&#8230; I discovered the error appears  when I add feed to the pagination, for example <\/p>\n<p><strong>\/ page \/ number \/ feed<\/strong><\/p>\n<p>I put spaces to be able to publish the message.<\/p>\n<p>Finally I installed a new blog for make test with a new database and none plugin activated <\/p>\n<p><strong>www . pruebas . minimalnet . org \/ page \/ 2 \/ feed<\/strong><\/p>\n<p>My surprise has been big when I have seen again the same problem, for this reason I think this must be a bug of wordpress.<\/p>\n<p>I am using 2.3.2 version of the software, if somebody can replay to me I will be happy.<\/p>\n","protected":false},"template":"","class_list":["post-684622","topic","type-topic","status-closed","hentry","topic-tag-database"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/684622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/684622\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=684622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}