December 21, 2018 at 2:03 am #225186
When I'm working inside my admin panel I see the following message at the top of the page:
Warning: sprintf(): Too few arguments in /home/doaga829/public_html/goseomedia.com/wp-content/themes/genesis/config/customizer-theme-settings.php on line 317
Warning: sprintf(): Too few arguments in /home/doaga829/public_html/goseomedia.com/wp-content/themes/genesis/config/customizer-theme-settings.php on line 327
Can you please check this?https://goseomedia.comDecember 21, 2018 at 7:39 am #225198Victor FontModerator
This type of warning requires access to the back end of your site to fully diagnose because it is being generated by PHP, which we can't see from the front end.
I did look at the Genesis source code, and the two lines that are being tripped over relate to the header and footer script boxes. There's only one place in both of those sections of code that use sprintf(). This is where the following messages are generated:
This code will output immediately before the closing </head> tag in the document source. This code will output immediately before the closing </body> tag in the document source.
They are simply the instructional message and the argument for each is the closing tag referenced in those instructions.
I switched to the Breakthrough Pro in my local dev environment and could not recreate the message. This means there's something going on in your environment that is triggering the warning. There could be many, many reasons such as PHP version, Genesis not installed properly, etc. This has nothing to do with Breakthrough Pro though.
If the text messages are properly displaying on your screen, I wouldn't worry about it. It is only a warning and not an error. You can always configure PHP not to display warnings. You'll have to research how that can be done in your environment because it depends on PHP version and your host's settings.
If it continues to be a problem for you, I suggest you open a support ticket with Studio Press. We're just community volunteers, end users just like yourself with no affiliation to Studio Press.
December 23, 2018 at 11:44 pm #225222
The theme is working fine up until now despite the warning messages I receive in the admin panel.
If this warning message won't impact me I will leave it as it is. I hope this will be fixed at the next update.
I appreciate your assisstance Victor!December 26, 2018 at 6:23 pm #225241AnitaKeymaster
By chance are you using the Genesis Translations plugin on your site? If so, there was a bug in the plugin. Have you updated all of your plugins?
Love coffee, chocolate and my Bella!January 27, 2019 at 5:35 am #489060
I use Genesis Translations plugin. When I deactivate it the error disappears. Though, when I activate the plugin again the error code appears again.
I keep all my plugin updated. Should I wait for the fix in the next plugin update?January 27, 2019 at 9:04 am #489065Victor FontModerator
I would report the issue to the plugin developer. They may not know there's a problem: https://wordpress.org/plugins/genesis-translations/
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.