HELP! Woocommerce Stripe payment gateway crashes website
-
Hi,
My woocommerce site just crashed and this is the error that I have:
Nothing changed on the website, just some auto update and it seems to have crashed all.I have also deleted and reinstalled the Woocommerce Stripe payment gateway, but no luck.
When deactivating the plugin, all works again.
WordPress version 6.5.3
Active theme: Kadence
Current plugin: WooCommerce Stripe Gateway (version 8.3.0)
PHP version 8.1.2-1ubuntu2.17Who knows what to do here?
Thanks in advance!!!
MitchAn error of type E_ERROR was caused in line 142 of the file /var/www/domain.com/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php. Error message: Uncaught ArgumentCountError: Too few arguments to function WC_Stripe_UPE_Payment_Gateway::__construct(), 0 passed in /var/www/domain.com/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php on line 103 and exactly 1 expected in /var/www/domain.com/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php:142 Stack trace: #0 /var/www/domain.com/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(103): WC_Stripe_UPE_Payment_Gateway->__construct() #1 /var/www/domain.com/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(76): WC_Payment_Gateways->init() #2 /var/www/domain.com/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(49): WC_Payment_Gateways->__construct() #3 /var/www/domain.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php(1040): WC_Payment_Gateways::instance() #4 /var/www/domain.com/wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php(391): WooCommerce->payment_gateways() #5 /var/www/domain.com/wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php(80): Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage->get_incentive() #6 /var/www/domain.com/wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php(98): Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage->must_be_visible() #7 /var/www/domain.com/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage->register_payments_welcome_page() #8 /var/www/domain.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #9 /var/www/domain.com/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /var/www/domain.com/wp-admin/includes/menu.php(161): do_action() #11 /var/www/domain.com/wp-admin/menu.php(422): require_once(‘…’) #12 /var/www/domain.com/wp-admin/admin.php(158): require(‘…’) #13 /var/www/domain.com/wp-admin/index.php(10): require_once(‘…’) #14 {main} thrown
- The topic ‘HELP! Woocommerce Stripe payment gateway crashes website’ is closed to new replies.