- This topic has 11 replies, 5 voices, and was last updated 6 years, 11 months ago by vvkk.
-
AuthorPosts
-
August 19, 2016 at 8:48 pm #97624BerndSpringParticipant
Hello,
I got this message at the beginning of every post:
Warning: sprintf() [function.sprintf]: Too few arguments in (…)wp-content/themes/clean-journal/inc/clean-journal-core.php on line 803
… and only when I use the theme in German language.
I have found these files while using the search option:
https://www.dropbox.com/s/hf4m17mps6ovdjw/Clean%20Journal%20de_DE.zip?dl=0
I replaced the de_DE.po and .mo but that doesn´t fix the problem. Can you please tell my where to find the error in the translation files?
Thanks alot!
Bernd.
August 20, 2016 at 7:13 am #97659PratikKeymaster@berndspring:
We will fi this in next theme update. If you want to fix it now, then do following:
1. Goto clean-journal/inc/clean-journal-core.php on line 802-806 and replace it with following lines:printf( '<span class="posted-on">%1$s<a href="%2$s" rel="bookmark">%3$s</a></span>', sprintf( __( '<span class="screen-reader-text">Posted on</span>', 'clean-journal' ) ), esc_url( get_permalink() ), $time_string );
Let me know how it goes.
August 20, 2016 at 1:23 pm #97674BerndSpringParticipantPerfect, it looks great now!
Thanks alot for your help and the quick response!
August 20, 2016 at 2:59 pm #97675berndwesselParticipantHello,
I have a similar problem in another file;Warning: sprintf (): Too few of argument in/www/xxxxxxx/site/wp-content/themes/catch-base/inc/catchbase-core.php on line 783
If you have please a solution for it.
ThanksAugust 20, 2016 at 7:36 pm #97685PratikKeymaster@berndwessel: Use following code instead of ones in
catch-base/inc/catchbase-core.php
lines 782-786:printf( '<span class="posted-on">%1$s<a href="%2$s" rel="bookmark">%3$s</a></span>', sprintf( __( '<span class="screen-reader-text">Posted on</span>', 'catch-base' ) ), esc_url( get_permalink() ), $time_string );
August 20, 2016 at 7:42 pm #97686berndwesselParticipantMany thanks of the mistakes are repaired.
Many greetings
BerndAugust 30, 2016 at 7:49 pm #98376danny.frischknechtParticipantand thats what i got:
Warning: sprintf() [function.sprintf.php]: Too few arguments in /home/ddsignir/www/dd-sign.ch/wp-content/themes/catch-responsive/inc/catchresponsive-core.php on line 812
thanks for help
dannyAugust 31, 2016 at 9:40 am #98414August 31, 2016 at 11:40 am #98426danny.frischknechtParticipant@pratik thanks for your support – works again 🙂
cheers danny!
April 5, 2017 at 7:32 am #113512vvkkParticipanthello
I got this message at the beginning of Forum page:Warning: sprintf(): Too few arguments in /home/…… /plugins/bbpress/includes/forums/template.php on line 1995
Can you tell me what do i do?
April 5, 2017 at 7:36 am #113513PratikKeymasterHi @vvkk,
This is issue from bbpress plugin. Please visit their forum for this issue.
Regards,
PratikApril 5, 2017 at 7:56 am #113514 -
AuthorPosts
- The topic ‘Warning: sprintf() [function.sprintf]: Too few arguments in …’ is closed to new replies.