{"id":6470166,"date":"2015-08-24T18:07:08","date_gmt":"2015-08-24T18:07:08","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/500-internal-server-error-all-wp-after-update\/"},"modified":"2016-08-30T17:11:11","modified_gmt":"2016-08-30T17:11:11","slug":"500-internal-server-error-all-wp-after-update","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/500-internal-server-error-all-wp-after-update\/","title":{"rendered":"500 Internal Server ERROR All WP after update!"},"content":{"rendered":"<p>I received the following error and not sure how to fix it when updating to the latest version of WooCommerce today.<\/p>\n<p>WordPress database error Duplicate key name &#8216;location_type_code&#8217; for query ALTER TABLE wp_woocommerce_tax_rate_locations ADD KEY location_type_code (location_type(40),location_code(90)) made by do_action(&#8216;admin_init&#8217;), call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta<\/p>\n<p>https:\/\/wordpress.org\/plugins\/woocommerce\/<\/p>\n","protected":false},"template":"","class_list":["post-6470166","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6470166","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\/6470166\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6470166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}