Database Error on Activation
-
Hi, on deactivating and activating the plugin, I get the following database errors:
WordPress database error Duplicate key name ‘location_type_code’ for query ALTER TABLE wp_woocommerce_tax_rate_locations ADD KEY location_type_code (location_type(40),location_code(90)) made by activate_plugin, do_action(‘activate_woocommerce/woocommerce.php’), call_user_func_array, WC_Install::install, WC_Install::create_tables, dbDelta
and
WordPress database error Duplicate key name ‘location_type_code’ for query ALTER TABLE wp_woocommerce_shipping_zone_locations ADD KEY location_type_code (location_type(40),location_code(90)) made by activate_plugin, do_action(‘activate_woocommerce/woocommerce.php’), call_user_func_array, WC_Install::install, WC_Install::create_tables, dbDelta
How to fix these?
- The topic ‘Database Error on Activation’ is closed to new replies.