Critical error when activating WooCommerce 8.5/8.5.1
-
When I activated the WooCommerce 8.5/8.5.1 plugin I get an uncaught exception: The authoritative table for orders storage can’t be changed while there are orders out of sync in /var/www/wp-content/p
lugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php:312My stack trace:
Stack trace:
#0 [internal function]: Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController->process_pre_update_option(‘yes’, ‘woocommerce_cus…’, ‘no’)
#1 /var/www/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php(158): call_user_func_array(Array, Array)
#2 /var/www/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController->__call(‘process_pre_upd…’, Array)
#3 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘yes’, Array)
#4 /var/www/wp-includes/option.php(784): apply_filters(‘pre_update_opti…’, ‘yes’, ‘woocommerce_cus…’, ‘no’)
#5 /var/www/wp-content/plugins/woocommerce/src/Internal/Features/FeaturesController.php(344): update_option(‘woocommerce_cus…’, ‘yes’)
#6 /var/www/wp-content/plugins/woocommerce/includes/class-wc-install.php(920): Automattic\WooCommerce\Internal\Features\FeaturesController->change_feature_enable(‘custom_orde
r_ta…’, true)
#7 /var/www/wp-includes/class-wp-hook.php(324): WC_Install::maybe_enable_hpos(”)
#8 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#9 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#10 /var/www/wp-content/plugins/woocommerce/includes/class-wc-install.php(291): do_action(‘woocommerce_new…’)
#11 [internal function]: WC_Install::newly_installed(”)
#12 /var/www/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php(178): call_user_func_array(Array, Array)
#13 /var/www/wp-includes/class-wp-hook.php(324): WC_Install::__callStatic(‘newly_installed’, Array)
#14 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#15 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /var/www/wp-admin/admin.php(175): do_action(‘admin_init’)
#17 /var/www/wp-admin/index.php(10): require_once(‘/var/www/wp-adm…’)
#18 {main}
?thrown in /var/www/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php on line 312
- The topic ‘Critical error when activating WooCommerce 8.5/8.5.1’ is closed to new replies.