Woocommerce too few arguments error

Hello,

After importing latest Lithuanian translations .mo file from woocommerce official website I started getting this error on checkout page and woocommerce dashboard.

Warning: sprintf(): Too few arguments in /var/www/vhosts/mhealth.lt/httpdocs/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/settings-paypal.php on line 126

Regards,

Lukas

Hi there,

Please kindly do not provide the password of your website openly in the forum posts. I changed the information and added using the Secure Note functionality of the Post.

Now regarding the question. It does it seems to be something related to our theme as the error mentioned is related to the Paypal gateway of the Woocommerce plugin.

Kindly change the default theme of your website from X to something else and see if the problem persists. On that case kindly contact Woocommerce support to follow up:

Thank you.

Thanks for your response Christopher,

Problem persists when activating different theme. I will try woocommerce support, but they seem to have very limited support for non paying customers.

Is there any way not to solve the problem but at least make this error above header in check-out and cart pages to disappear? This would help a lot.

Thanks

Hello There,

Thanks for updating in! Since what you are seeing is a PHP Warning, you may disable the debug mode in your site. You can do this by opening wp-config.php and adding define( 'WP_DEBUG' , false ); just above /* That's all, stop editing! Happy blogging. */

For example:

define('WP_DEBUG', false);

/* That's all, stop editing! Happy blogging. */

When you revisit the page, you should no longer be seeing the PHP warning.

Please let us know how it goes.

Hello,

Problem seem to have resolved on its own after migrating website :open_mouth:

Thanks

Great!
We appreciate for letting us know that it has been resolve.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.