fbpx

Home Forums Booster Plus Customer Forum An E_ERROR type error was caused on line 755 of the file

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #52915
    Miguel Mendes
    Participant

    Hello,

    I got this error in our website.

    WordPress version 6.5.4 Active theme: Divi Theme (version 4.25.2)

    Current plugin: Booster Plus for WooCommerce (version 7.1.9)

    Fatal error: Uncaught Error: Call to a member function get_cart() on null
    in /home/customer/www/academy.numerologianavida.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-custom-fields.php on line 755

    Call stack:

    WCJ_Checkout_Custom_Fields::is_visible()
    wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-custom-fields.php:822
    WCJ_Checkout_Custom_Fields::add_custom_checkout_fields()
    wp-includes/class-wp-hook.php:324
    WP_Hook::apply_filters()
    wp-includes/plugin.php:205
    apply_filters()
    wp-content/plugins/woocommerce/includes/class-wc-checkout.php:300
    WC_Checkout::get_checkout_fields()
    wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php:385
    WC_Stripe_UPE_Payment_Gateway::javascript_params()
    wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-blocks-support.php:250
    WC_Stripe_Blocks_Support::get_gateway_javascript_params()
    wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-blocks-support.php:175
    WC_Stripe_Blocks_Support::get_payment_method_data()
    wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php:62
    Automattic\W\B\P\PaymentMethodRegistry::get_all_registered_script_data()
    wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php:92
    Automattic\W\B\P\Api::add_payment_method_script_data()
    wp-includes/class-wp-hook.php:324
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-content/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php:215
    Automattic\W\B\B\MiniCart::enqueue_data()
    wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php:109
    Automattic\W\B\B\AbstractBlock::enqueue_editor_assets()
    wp-includes/class-wp-hook.php:324
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-admin/edit-form-blocks.php:272
    require()
    wp-admin/post.php:187

    Anyone can help?

    Thank you!
    Miguel

    #52918
    David G
    Participant

    Hi @salesanasequeira-com,

    We have just released a new version of booster v7.2.0.

    Can you please upgrade the plugin and confirm whether your fix has been included or not?

    #52928
    Miguel Mendes
    Participant

    Hi David,

    Thank you for your fast response.

    I have installed the v7.2.0, but didn´t resolved the issue.

    #53031
    Miguel Mendes
    Participant

    Still got the issue:

    Fatal error: Uncaught Error: Call to a member function get_cart() on null
    in /home/customer/www/academy.numerologianavida.com/public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-custom-fields.php on line 755

    Call stack:
    WCJ_Checkout_Custom_Fields::is_visible()
    wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-checkout-custom-fields.php:822
    WCJ_Checkout_Custom_Fields::add_custom_checkout_fields()
    wp-includes/class-wp-hook.php:324
    WP_Hook::apply_filters()
    wp-includes/plugin.php:205
    apply_filters()
    wp-content/plugins/woocommerce/includes/class-wc-checkout.php:300
    WC_Checkout::get_checkout_fields()
    wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php:378
    WC_Stripe_UPE_Payment_Gateway::javascript_params()
    wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-blocks-support.php:250
    WC_Stripe_Blocks_Support::get_gateway_javascript_params()
    wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-blocks-support.php:175
    WC_Stripe_Blocks_Support::get_payment_method_data()
    wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php:62
    Automattic\W\B\P\PaymentMethodRegistry::get_all_registered_script_data()
    wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php:92
    Automattic\W\B\P\Api::add_payment_method_script_data()
    wp-includes/class-wp-hook.php:324
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-content/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php:215
    Automattic\W\B\B\MiniCart::enqueue_data()
    wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php:110
    Automattic\W\B\B\AbstractBlock::enqueue_editor_assets()
    wp-includes/class-wp-hook.php:324
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-admin/edit-form-blocks.php:272
    require()
    wp-admin/post.php:187

    #53044
    David G
    Participant

    Hi @salesanasequeira-com,

    Thanks for your message.

    If you are able to modify the code then you can add below line of code to wp-config.php file. You can find this file directly to your domain. This will not display the errors on any pages.

    define( ‘WP_DEBUG’ , false );
    define( ‘WP_DEBUG_LOG’ , false );
    define( ‘WP_DEBUG_DISPLAY’ , false );

    Let us know if you need further help from us.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.