{"id":9071698,"date":"2017-04-26T20:05:13","date_gmt":"2017-04-26T20:05:13","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/dberror\/"},"modified":"2017-04-26T20:06:04","modified_gmt":"2017-04-26T20:06:04","slug":"dberror","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/dberror\/","title":{"rendered":"DBError"},"content":{"rendered":"<p>Activated the plugin and got this on the plugin page in admin:<\/p>\n<p> [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;)&#8217; at line 4]<br \/>\nSELECT count(posts.ID) as product_id FROM wp_posts as posts WHERE 1=1 AND posts.post_type=&#8217;product&#8217; AND posts.post_status=&#8217;publish&#8217; AND posts.ID NOT IN ()<\/p>\n","protected":false},"template":"","class_list":["post-9071698","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9071698","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\/9071698\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9071698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}