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 28ModQuote:
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:Admin
Yes, Syahir. Firstly, I loved your new feature to be able to change the colour of the menus so I spent time changing them. Also, while doing that, the colours I had for my widgets defaulted back to the default theme colours. I had to go back and change them all again. It was while I was editing the fonts that I got this error.
You must be logged in to reply to this topic.