Fatal error on WC Settings page
-
Hello guys,
something really strange is going on with the new version of WooCommerce (6.1.1).
There is a fatal error on the WC Settings page in the admin area “Fatal error: Uncaught ValueError: Unknown format specifier “O” in /var/www/website-name.com/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/settings-paypal.php:128″
this is the 128th line: ‘description’ => sprintf( __( ‘Enter your PayPal API credentials to process refunds via PayPal. Learn how to access your PayPal API Credentials.’, ‘woocommerce’ ), ‘https://developer.paypal.com/webapps/developer/docs/classic/api/apiCredentials/#create-an-api-signature’ ),
as you can notice, there is a full stop (“.”) after closing tag. When full stop is removed, the error is gone and everything works OK again 🙂
The topic ‘Fatal error on WC Settings page’ is closed to new replies.