M
M
Maria2017-04-08 14:41:07
WordPress
Maria, 2017-04-08 14:41:07

Russified Woocommerce issues a warning - sprintf(): Too few arguments. How to fix?

Russified Woocommerce displays the following line in the admin panel:
Warning: sprintf(): Too few arguments in C:\OpenServer\domains\vipshop.local\wp-content\plugins\woocommerce\includes\admin\class-wc-admin-help.php on line 244
Tell me, please, how to fix it, are there any options?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Khriplivy, 2017-04-09
@missbells

1) Open the file "class-wc-admin-help.php" in a text editor on your server, in this case along this path:
2) In a text editor, press the keys [ CTRL ] + [ F ] paste this line into the search to find it:
and replace it with this line:
and everything will be ok.

M
Maxim Portnov, 2017-04-08
@major_kgb

Nothing needs to be done. Good thing I'm not the only one with this problem.
The reason is literally the following: "Too few arguments."
In simple words, if you are asked: "Will you have tea with or without milk, how many spoons of sugar to put?"
You answer: "One spoonful of sugar."
In fact, it won’t hurt to pour tea for you, but there’s nothing good in the fact that the arguments are not enough for the plugin to work unambiguously. Waiting for hotfix.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question