{"id":3185517,"date":"2012-11-12T17:46:54","date_gmt":"2012-11-12T17:46:54","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/sql-error-11\/"},"modified":"2016-08-20T17:31:43","modified_gmt":"2016-08-20T17:31:43","slug":"sql-error-11","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/sql-error-11\/","title":{"rendered":"SQL error"},"content":{"rendered":"<p>I&#8217;ve just noticed in my PHP error log a table insert command error that occurred, I think either on installation or shortly afterwards:<\/p>\n<p><code>WordPress database error Table &#039;[redacted].wp_wpaa_template&#039; doesn&#039;t exist for query INSERT INTO<\/code>wp_wpaa_template<code>(<\/code>NAME<code>,<\/code>TYPE_ID<code>,<\/code>CONTENT<code>,<\/code>DESCRIPTION<code>,<\/code>CSS<code>,<\/code>ACTIVE<code>) VALUES (&#039;Product Summary&#039;, 0, &#039;&lt;div class=&quot;wpaa_product&quot;&gt;<\/code><\/p>\n<p>&#8230; followed by what looks like should have been some html template.<\/p>\n<p>The table &#8220;wpaa_cache&#8221; has data, but the table &#8220;wpaa_template&#8221; has no records.<\/p>\n<p>Any help AVAILABLE on this?<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/wordpress-amazon-associate\/<\/p>\n","protected":false},"template":"","class_list":["post-3185517","topic","type-topic","status-closed","hentry","topic-tag-sql"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3185517","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\/3185517\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3185517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}