• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Warning: printf() [function.printf] error on Metro Theme :S

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Warning: printf() [function.printf] error on Metro Theme :S

This topic is: not resolved

Tagged: error, problem, theme settings, translation, warning

  • This topic has 8 replies, 3 voices, and was last updated 12 years, 3 months ago by nciske.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • March 30, 2013 at 12:59 pm #32120
    pluzito
    Participant

    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 #32256
    nciske
    Member

    Warnings 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/1lahwy0

    March 31, 2013 at 9:34 am #32259
    Derek
    Member

    I'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 #32453
    pluzito
    Participant

    I'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 #32455
    pluzito
    Participant

    No 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 #32457
    nciske
    Member

    Report 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:

    http://www.poedit.net


    Nick Ciske | https://luminfire.com/ | @nciske
    Did I help you? Say thanks: http://bit.ly/1lahwy0

    April 1, 2013 at 1:59 pm #32503
    pluzito
    Participant

    Thanks 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 #32504
    pluzito
    Participant

    If 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 #32508
    nciske
    Member

    It'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

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble