Community Forums › Forums › Archived Forums › General Discussion › Warning: printf() [function.printf] error on Metro Theme :S
Tagged: error, problem, theme settings, translation, warning
- This topic has 8 replies, 3 voices, and was last updated 11 years, 9 months ago by nciske.
-
AuthorPosts
-
March 30, 2013 at 12:59 pm #32120pluzitoParticipant
Hello everygone, I'm gettin the following error appearing under the Dashboar/Genesis/theme settings below the boxes of Header scripts and footer scripts. My url is: DoggsHipHop.com
Warning: printf() [function.printf]: Argument number must be greater than zero in/www/doggs.com.ar/htdocs/hiphop/wp-content/themes/genesis/lib/admin/theme-settings.php on line 717
The site runs well, but this warning sounds pretty ugly. Thanks!
March 31, 2013 at 9:17 am #32256nciskeMemberWarnings are not generally "harmful" -- and unless your site is in development you shouldn't be seeing them output in the page like this. Is suspect it's an uninitialized option and would go away once you save the form once (these 'fresh install' bugs are always hard to catch as a developer).
I'd make sure WP_DEBUG is disabled on your live server... and I'd suggest reporting this in the customer forum for Metro so the devs can make sure it gets fixed in the next version.
http://codex.wordpress.org/Editing_wp-config.php#Debug
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0March 31, 2013 at 9:34 am #32259DerekMemberI've been using metro since it was released and never scene this error message anywhere in my dashboard. Could be related to a plugin you have enabled or changes you have made to one of the theme files that's causing this.
Are you running the latest version of Genesis Framework?
~’;’~
April 1, 2013 at 10:22 am #32453pluzitoParticipantI've tried with a new database import and disabling all plugins, the error continues. I figured out that the error stops when I deleted both es_ES.mo and es_ES.po from genesis/lib/languages :S any suggestion? I need my blog translated to spanish. Thank you very much for your help
April 1, 2013 at 10:26 am #32455pluzitoParticipantNo doubt, is the .mo and .po files in the genesis directory that triggers that trouble. I've went back to my old installation and delete them and the error dissapeared. How can I get thos translation files for spanish working? thanks
April 1, 2013 at 10:31 am #32457nciskeMemberReport the issue to the SP support team -- there seems to be an issue in the language file that is causing the PHP Warning.
http://my.studiopress.com/help/
If you’re feeling adventurous you can edit the PO file and try to fix the issue yourself (it's likely a missing translated string) and attempt to generate a new .mo file.
PO Edit is a freeware language file editor:
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0April 1, 2013 at 1:59 pm #32503pluzitoParticipantThanks for the help. I've tried filling al the blank translations and the problem continues. Only when I delete the files from my FTP the problem is gone. Then I've tried to use the Genesis 1.8 translation for spanish instead of 1.9 and the same problem occurs. I'm using that Poedit soft, maybe any problem with it? I have to upload both es_ES.mo and es_ES.po? thanks for your help, I'm stucked with this
April 1, 2013 at 2:03 pm #32504pluzitoParticipantIf is simple as uploading two files via FTP to get Genesis tranlated, I prefer that than charging my blog with another plugin (Genesis Translation) or much code on the Functions.php. Thanks
April 1, 2013 at 2:26 pm #32508nciskeMemberIt's clearly not a simple fix -- I'd recommend you open a support ticket.
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0 -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.