• Resolved kombimedia

    (@kombimedia)


    Hi there,

    I am seeing a critical error when opening a page or post to edit, as well as when opening the customiser. This error has been present since February so I am hoping you can find a solution.

    WordPress version 6.8.2
    Active theme: Blocksy Pro
    Current plugin: Booster Plus for WooCommerce (version 7.2.7)
    PHP version 8.4.11

    Error Details

    An error of type E_ERROR was caused in line 275 of the file /home/user/webapps/domain/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-core-fields.php. Error message: Uncaught Error: Call to a member function get_cart() on null in /home/user/webapps/domain/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-core-fields.php:275
    Stack trace: 0 /home/user/webapps/domain/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-core-fields.php(196): WCJ_Checkout_Core_Fields->is_visible() 1 /home/user/webapps/domain/wp-includes/class-wp-hook.php(324): WCJ_Checkout_Core_Fields->custom_override_checkout_fields() 2 /home/user/webapps/domain/wp-includes/plugin.php(205): WP_Hook->apply_filters() 3 /home/user/webapps/domain/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(298): apply_filters() 4 /home/user/webapps/domain/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(322): WC_Checkout->initialize_checkout_fields() 5 /home/user/webapps/domain/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php(470): WC_Checkout->get_checkout_fields() 6 /home/user/webapps/domain/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-blocks-support.php(323): WC_Stripe_UPE_Payment_Gateway->javascript_params() 7 /home/user/webapps/domain/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-blocks-support.php(193): WC_Stripe_Blocks_Support->get_gateway_javascript_params() 8 /home/user/webapps/domain/wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php(62): WC_Stripe_Blocks_Support->get_payment_method_data() 9 /home/user/webapps/domain/wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php(92): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_registered_script_data() 10 /home/user/webapps/domain/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_data() 11 /home/user/webapps/domain/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 12 /home/user/webapps/domain/wp-includes/plugin.php(517): WP_Hook->do_action() 13 /home/user/webapps/domain/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php(287): do_action() 14 /home/user/webapps/domain/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(111): Automattic\WooCommerce\Blocks\BlockTypes\MiniCart->enqueue_data() 15 /home/user/webapps/domain/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets() 16 /home/user/webapps/domain/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 17 /home/user/webapps/domain/wp-includes/plugin.php(517): WP_Hook->do_action() 18 /home/user/webapps/domain/wp-admin/edit-form-blocks.php(339): do_action() 19 /home/user/webapps/domain/wp-admin/post.php(187): require(‘…’) 20 {main}

    thrown

    I have since updated to Booster Plus v7.3.0 and am seeing the same error.

    Cheers,

    Cy

Viewing 1 replies (of 1 total)
  • Plugin Contributor David G

    (@gravid7)

    Hi @kombimedia,

    Thank you for reaching out.

    Since you are using the latest version of Booster Plus, please contact us through our website so we can further check your issue and assist you in resolving it.

Viewing 1 replies (of 1 total)

The topic ‘Critical Error when editing content’ is closed to new replies.