Hello,
I have a problem since I upgraded to WP 2.7.1 and that is this warning on the very top of my frontpage.
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'addHeaderCode' was given in /public_html/wp-includes/plugin.php on line 339
And I dont know where to start or end my search for the problem...
http://kulturspegeln.se
Please help if you can ;-)
kmessinger
Member
Posted 3 years ago #
This script in your header file is the culprit.
<b>Warning</b>: call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'addHeaderCode' was given in <b>/home2/kultursp/public_html/wp-includes/plugin.php</b> on line <b>339</b><br />
Hi,
It seems that this is an error due to some plugins.kindly check with your installed plugins and remove all unwanted plugins from the blog.
Thanks,
Shane G.
semper tiro
Member
Posted 3 years ago #
For me, it was
WordPress PHP Info
that caused the problem.
RobinInTexas
Member
Posted 3 years ago #
Deactivating PHP Info fixed my problem as well.
Thanks Semper.