PHP SPrintf Warning
I updated to 1.8 and began receiving a warning (Too few arguments) that displays on my page cocerning line 28 of theme-head.php.
You can see this at http://bryanforester.com/wordpress at the top of the page.
I was able to suppress the warning by prepending “@” to call_user_func_array() but wanted share.Mod
Sure. I suppressed the error on my main blog (http://bryanforester.com) but on my testing blog (http://bryanforester.com/wordpress) The error still shows at the very top of the page. The error blends with the background, but the text is:
Warning: sprintf() [function.sprintf]: Too few arguments in /home/content/97/9624797/html/wordpress/wp-content/themes/graphene/includes/theme-head.php on line 28
AnonymousAugust 9, 2012 at 5:43 pm #31283
Okay so this is not something I did to my blog…Yay! I suppose this bug will be fixed with a patch soon. Do I need to worry that my blog will not work properly?Mod
AnonymousAugust 9, 2012 at 9:22 pm #31286Quote:
I didn’t realize that was your test blog since it looks just like your regular blog. My test blog looks like a mess.
It is at the very top of his page; “Warning: sprintf() [function.sprintf]: Too few arguments in /home/content/97/9624797/html/wordpress/wp-content/themes/graphene/includes/theme-head.php on line 28”Admin
Everyone, try replacing the content of
includes/theme-head.phpwith the updated one here:
- You must be logged in to reply to this topic.