Home › Forums › Booster Plus Customer Forum › An E_ERROR type error was caused on line 755 of the file
- This topic has 4 replies, 2 voices, and was last updated 4 months, 2 weeks ago by David G.
-
AuthorPosts
-
July 2, 2024 at 10:18 am #52915Miguel MendesParticipant
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 755Call 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:187Anyone can help?
Thank you!
MiguelJuly 2, 2024 at 12:08 pm #52918David GParticipantWe 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?
July 2, 2024 at 1:26 pm #52928Miguel MendesParticipantHi David,
Thank you for your fast response.
I have installed the v7.2.0, but didn´t resolved the issue.
July 16, 2024 at 11:17 am #53031Miguel MendesParticipantStill 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 755Call 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:187July 19, 2024 at 5:53 am #53044David GParticipantThanks 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.
-
AuthorPosts
- You must be logged in to reply to this topic.