After upgrading my server from PHP 7.4 to PHP 8.0.25 it causes a fatal error on my site, and I have to ftp in to disable WooCommerce Stripe Gateway. I don’t understand the error on line 69 of class-wc-gateway-stripe-alipay.php, I’m not even using alipay or so I think.
Is there any filter or code to prevent loading alipay?
This is the WooCommerce log message:
2023-01-19T14:40:47+00:00 CRITICAL Uncaught ValueError: Unknown format specifier "a" in /var/www/wptbox/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-gateway-stripe-alipay.php:69
Stack trace:
#0 /var/www/wptbox/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-gateway-stripe-alipay.php(69): sprintf()
#1 /var/www/wptbox/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(97): WC_Gateway_Stripe_Alipay->__construct()
#2 /var/www/wptbox/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(70): WC_Payment_Gateways->init()
#3 /var/www/wptbox/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(43): WC_Payment_Gateways->__construct()
#4 /var/www/wptbox/wp-content/plugins/woocommerce/includes/class-woocommerce.php(925): WC_Payment_Gateways::instance()
#5 /var/www/wptbox/wp-content/plugins/woocommerce-pay-for-payment/inc/class-pay4pay-admin.php(41): WooCommerce->payment_gateways()
#6 /var/www/wptbox/wp-includes/class-wp-hook.php(308): Pay4Pay_Admin->save_actions_for_every_method()
#7 /var/www/wptbox/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#8 /var/www/wptbox/wp-includes/plugin.php(517): WP_Hook->do_action()
#9 /var/www/wptbox/wp-settings.php(639): do_action()
#10 /var/www/wptbox/wp-config.php(74): require_once('...')
#11 /var/www/wptbox/wp-load.php(50): require_once('...')
#12 /var/www/wptbox/wp-admin/admin.php(34): require_once('...')
#13 /var/www/wptbox/wp-admin/plugins.php(10): require_once('...')
#14 {main}
thrown en /var/www/wptbox/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-gateway-stripe-alipay.php en la línea 69
- This topic was modified 6 hours, 43 minutes ago by .
The page I need help with: [log in to see the link]