Errors with Woocommerce Stripe 8.5.1

[ad_1]

When I updated to Woocommerce Stripe Plugin 8.5.1 version the checkout page started to break and was getting the following errors in the logs.

2024/07/14 15:49:20 [error] 765#765: *20225 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function is_reusable() on null in /var/www/html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/integrations/class-wcpbc-stripe-upe.php:198
Stack trace: 0 /var/www/html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/integrations/class-wcpbc-stripe-upe.php(179): WCPBC_Stripe_UPE::get_enabled_payment_method_config() 1 /var/www/html/wp-includes/class-wp-hook.php(324): WCPBC_Stripe_UPE::stripe_upe_params() 2 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 3 /var/www/html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php(343): apply_filters() 4 /var/www/html/wp-includes/class-wp-hook.php(324): WC_Stripe_UPE_Payment_Gateway->payment_scripts() 5 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 6 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()

Reverting back to Woocommerce Stripe plugin 8.4.0 resolves the issue.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer