{"id":10250474,"date":"2018-05-05T20:00:43","date_gmt":"2018-05-05T20:00:43","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wordpress-database-errors-6\/"},"modified":"2018-05-05T20:00:43","modified_gmt":"2018-05-05T20:00:43","slug":"wordpress-database-errors-6","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wordpress-database-errors-6\/","title":{"rendered":"WordPress database errors"},"content":{"rendered":"<p>Hi,<br \/>\nI would very much like to try your plugin, but after activation I get blank page and these errors. Any idea what could cause this? Many thanks. Radim<\/p>\n<p>WordPress database error: [Table &#8216;wp_atum_order_items&#8217; already exists]<br \/>\nRENAME TABLE wp_atum_log_items TO wp_atum_order_items, wp_atum_log_itemmeta TO wp_atum_order_itemmeta;<\/p>\n<p>WordPress database error: [Unknown column &#8216;log_item_id&#8217; in &#8216;wp_atum_order_items&#8217;]<br \/>\nALTER TABLE wp_atum_order_items CHANGE <code>log_item_id<\/code> <code>order_item_id<\/code> BIGINT UNSIGNED NOT NULL AUTO_INCREMENT;<\/p>\n<p>WordPress database error: [Unknown column &#8216;log_item_name&#8217; in &#8216;wp_atum_order_items&#8217;]<br \/>\nALTER TABLE wp_atum_order_items CHANGE <code>log_item_name<\/code> <code>order_item_name<\/code> TEXT NOT NULL;<\/p>\n<p>WordPress database error: [Unknown column &#8216;log_item_type&#8217; in &#8216;wp_atum_order_items&#8217;]<br \/>\nALTER TABLE wp_atum_order_items CHANGE <code>log_item_type<\/code> <code>order_item_type<\/code> varchar(200) NOT NULL DEFAULT &#8221;;<\/p>\n<p>WordPress database error: [Unknown column &#8216;log_id&#8217; in &#8216;wp_atum_order_items&#8217;]<br \/>\nALTER TABLE wp_atum_order_items CHANGE <code>log_id<\/code> <code>order_id<\/code> BIGINT UNSIGNED NOT NULL;<\/p>\n<p>WordPress database error: [Unknown column &#8216;log_item_id&#8217; in &#8216;wp_atum_order_itemmeta&#8217;]<br \/>\nALTER TABLE wp_atum_order_itemmeta CHANGE <code>log_item_id<\/code> <code>order_item_id<\/code> BIGINT UNSIGNED NOT NULL;<\/p>\n<p>WordPress database error: [Can&#8217;t DROP &#8216;log_item_id&#8217;; check that column\/key exists]<br \/>\nALTER TABLE wp_atum_order_itemmeta DROP KEY <code>log_item_id<\/code>, ADD KEY order_item_id (order_item_id);<\/p>\n<p>Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 25166600 bytes) in \/home\/&#8230;\/wp-includes\/wp-db.php on line 1889<\/p>\n","protected":false},"template":"","class_list":["post-10250474","topic","type-topic","status-publish","hentry","topic-tag-database-errors","topic-tag-fatal-error","topic-tag-unknown-column"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10250474","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\/10250474\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10250474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}