• 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]

Viewing 1 replies (of 1 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @calyweb

    It still works fine on our demo page with the latest version of WP and Woo https://demo.wpclever.net/woosb/product/smart-bundle-01/. So, I think have a compatible issue with another plugin on your site.

    Please check about the “payment methods” block or shortcode if you’re building a single product page with Gutenberg. You can try removing this block/shortcode and then see if it works or not.

Viewing 1 replies (of 1 total)
  • The topic ‘Critical error with Woocommerce 7’ is closed to new replies.