@javid99 Does this happen with just WooCommerce active? Are you using any sort of translations?
The section being referenced is at the below link, and there’s only one variable that sprintf is replacing, which is passed as well:
https://github.com/woocommerce/storefront/blob/version/2.4.2/inc/storefront-template-functions.php#L437-L441
Hi @jessepearson
Thank you for answering
I use a non-English site (RTl – Persian)
Everything is default
Only the language of the site is Persian.
No plugins are active
No additional plugin is not activated.
This is the website address
6019.ir {I do not know if the rules allow me to send the site’s address.}
Thankyou
@javid99 It sounds like it may be possible that your translation being used may not be complete, so it may be causing the notice. If possible, please install https://ww.wp.xz.cn/plugins/loco-translate/ which will allow you to adjust translations from the WordPress admin.
Once installed, check your translation against Storefront to see if there are any needed strings. You can search for ‘Posted on’ or ‘post date’ and you should find the string being referenced.
Hi
@jessepearson
Thank you for your help
I checked
But the problem did not resolve.
The paths and the translation are correct, but the error is still generated.
This is what is seen
Context: post date
translators: %s: post date
Do I need to add to that %S
Thankyou
@javid99 Yes, the %s needs to be there. It is a variable that is replaced, and it may be the reason there’s an error.
Hello @jessepearson
The problem is still there
Previously, the error was just a line, but now the second line is also in error.
PHP Warning: sprintf(): Too few arguments in /home2/ir123411/public_html/wp-content/themes/storefront/inc/storefront-template-functions.php on line 440
new
PHP Warning: sprintf(): Too few arguments in /home2/ir123411/public_html/wp-content/themes/storefront/inc/storefront-template-functions.php on line 441
This problem exists on sites that use RLT and their language is from right to left.
I also have a 500 error problem will be what to do, where I proposed to resolve.
PhP version:7.2.11
Thankyou
@javid99 I switched to a RTL language and I still am not receiving the errors you are, this is without any translations in place, though. This is what I am seeing on a post:

Link to image: http://cld.wthms.co/5fW1tw
In Settings > General, what do you have for the Date Format?

Link to image: http://cld.wthms.co/IVTLnQ
laceyrod
(@laceyrod)
Automattic Happiness Engineer
Hi there,
Since we haven’t heard back from you, we’re going to go ahead and mark this as “Resolved” now. Please feel free to open a new thread if you have any further questions still.
Thanks!