PC:
Windows 10, Mac 13.1
Chrome(Version 109.0.5414.120)
Safari: v16.2
Steps to Reproduce:
Create a new store.
Install and setup, WooCommerce, the WooCommerce Stripe Payment Gateway, Query Monitor and Code Snippets.
Go to Snippets → Add new and create a snippet with the following code:
add_action( 'woocommerce_init', function () {
if ( class_exists('\Automattic\WooCommerce\Utilities\FeaturesUtil') ) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::allow_enabling_features_with_incompatible_plugins();
\Automattic\WooCommerce\Utilities\FeaturesUtil::allow_activating_plugins_with_incompatible_features();
}
});
Save the snippet and make sure it's active everywhere.
Go to WooCommerce > Settings > Advanced > Features.
Enable the High-Performance Order Storage (COT) feature and click Save changes.
Observe that Database error displayed in Query Monitor.
Bug Description:
Database error displayed after enabling the High-Performance Order Storage (COT) feature on "WooCommerce > Settings > Advanced > Features" page.
Environment:
Woocommerce Version : WooCommerce 7.3.0 WooCommerce Stripe Payment Gateway: 7.1.0-test Wordpress version: 6.1.1
PC: Windows 10, Mac 13.1 Chrome(Version 109.0.5414.120) Safari: v16.2
Steps to Reproduce:
Instruction Link:
https://github.com/woocommerce/woocommerce-gateway-stripe/wiki/Enabling-High-Performance-Order-Storage-(HPOS)
Actual Result:
Database error displayed after enabling the High-Performance Order Storage (COT) feature on "WooCommerce > Settings > Advanced > Features" page.
Expected Result:
High-Performance Order Storage (COT) feature should be enabled without any error.
Screenshot:
Isolating the problem (mark completed items with an [x]):