Critical error with Woocommerce 7
-
Hi,
Your plugin is not working anymore with Woocommerce 7, as you can see on the link : https://www.gladiatorfit.ch/produit/pack-tirage-poulie/Here’s the description of the error from the log :
get_cart was called incorrectly. Get cart ne peut pas être appelé avant l’action wp_loaded. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\BlockTypesController->register_blocks, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->__construct, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->initialize, Automattic\WooCommerce\Blocks\BlockTypes\Checkout->register_block_type_assets, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->register_block_type_assets, Automattic\WooCommerce\Blocks\Assets\Api->register_script, apply_filters('woocommerce_blocks_register_script_dependencies'), WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_dependencies, Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_active_payment_method_script_dependencies, Mame_Twint\wc_blocks\WC_Blocks_Payment_Method_Type->get_payment_method_script_handles, WC_Payment_Gateways->get_available_payment_gateways, apply_filters('woocommerce_available_payment_gateways'), WP_Hook->apply_filters, maybe_remove_partially, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.
Thanks for your help
The page I need help with: [log in to see the link]
- The topic ‘Critical error with Woocommerce 7’ is closed to new replies.