{"id":219803,"date":"2005-06-14T02:49:06","date_gmt":"2005-06-14T02:49:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/database-error-1-4\/"},"modified":"2016-08-18T19:55:31","modified_gmt":"2016-08-18T19:55:31","slug":"database-error-1-4","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/database-error-1-4\/","title":{"rendered":"Database Error"},"content":{"rendered":"<p>For some strange reason only when all topics in a category are displayed, I get the following dbase error.<\/p>\n<p><strong>WordPress database error:<\/strong><em> [No Database Selected]<br \/>\nSELECT COUNT(ID) FROM main_posts LEFT JOIN main_post2cat ON (main_posts.ID = main_post2cat.post_id) WHERE 1=1 AND (category_id = 1) AND post_date_gmt &lt;= &#8216;2005-06-14 02:45:59&#8217; AND (post_status = &#8220;publish&#8221;)<\/em><\/p>\n<p>But when I select JUST one topic, it goes away.  Odd thing is, I didn&#8217;t change anything, it just started happening today.<\/p>\n","protected":false},"template":"","class_list":["post-219803","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/219803","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\/219803\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=219803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}