• Resolved joe16

    (@joe16)


    Hi,

    Lately, I have updated the “WooCommerce Stripe Gateway” plugin from version 8.3.1 to 8.4.0.

    Since then, when I try to customize my Blocksy theme (Appearance > Customize), I get this fatal error:

    Fatal error: Uncaught Error: Call to a member function get_cart() on null in C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\eu-vat-for-woocommerce\includes\class-alg-wc-eu-vat-core.php:1073 Stack trace: #0 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\eu-vat-for-woocommerce\includes\class-alg-wc-eu-vat-core.php(1095): Alg_WC_EU_VAT_Core->is_tax_status_none() #1 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\class-wp-hook.php(324): Alg_WC_EU_VAT_Core->add_eu_vat_checkout_field_to_frontend(Array) #2 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\woocommerce\includes\class-wc-checkout.php(300): apply_filters('woocommerce_che…', Array) #4 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\woocommerce-gateway-stripe\includes\payment-methods\class-wc-stripe-upe-payment-gateway.php(385): WC_Checkout->get_checkout_fields('billing') #5 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\woocommerce-gateway-stripe\includes\class-wc-stripe-blocks-support.php(250): WC_Stripe_UPE_Payment_Gateway->javascript_params() #6 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\woocommerce-gateway-stripe\includes\class-wc-stripe-blocks-support.php(175): WC_Stripe_Blocks_Support->get_gateway_javascript_params() #7 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\woocommerce\src\Blocks\Payments\PaymentMethodRegistry.php(62): WC_Stripe_Blocks_Support->get_payment_method_data() #8 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\woocommerce\src\Blocks\Payments\Api.php(92): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_registered_script_data() #9 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_data('') #10 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #11 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #12 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\woocommerce\src\Blocks\BlockTypes\MiniCart.php(215): do_action('woocommerce_blo…') #13 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\woocommerce\src\Blocks\BlockTypes\AbstractBlock.php(109): Automattic\WooCommerce\Blocks\BlockTypes\MiniCart->enqueue_data() #14 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\class-wp-hook.php(324): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets('') #15 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #16 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #17 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\class-wp-customize-widgets.php(879): do_action('enqueue_block_e…') #18 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\class-wp-hook.php(324): WP_Customize_Widgets->enqueue_scripts('') #19 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #20 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #21 C:\Users\myuser\Local Sites\mywebsite\app\public\wp-admin\customize.php(123): do_action('customize_contr…') #22 {main} thrown in C:\Users\myuser\Local Sites\mywebsite\app\public\wp-content\plugins\eu-vat-for-woocommerce\includes\class-alg-wc-eu-vat-core.php on line 1073

    Please note, I have troubleshooted this error by disabling all plugins (except yours and the theme) and activating them one by one. The issue occurred when I activated the “WooCommerce Stripe Gateway” plugin.

    Blocksy version: 2.0.53

    EU/UK VAT for WooCommerce version : 2.11.4

    WooCommerce Stripe Gateway version : 8.4.0

    Looking forward to your reply.

    Thank you in advance.

    My best regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Joe,

    I hope you are well and thank you for contacting us.

    I was unable to replicate the problem on my end, so I have forwarded this to the development team for your consideration.

    Thanks for your time.

    Plugin Contributor Kousik Mukherjee

    (@kousikmukherjeeli)

    Hello @joe16 ,

    Please update your plugin with v2.11.5, we fixed your issue there.

    Regards
    Kousik Mukherjee

    Thread Starter joe16

    (@joe16)

    Hello @kousikmukherjeeli,

    Thank you very much, it looks OK.

    Thank you for your quick support and fix.

    Have a great day!

    My best regards,

    Hi @joe16,

    We are happy to assist you with your issue.

    If you liked the support, then please consider leaving a review here.

    Kind regards.

    Thread Starter joe16

    (@joe16)

    Hi @moshtafizur01,

    Done, I left a 5 stars review!

    Have a nice day!

    My best regards,

    Hi @joe16,

    Thank you very much and please let us know if you face any issues in future. We are here to help.

    Regards.

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