WordPress.org

Forums

Header problems (5 posts)

  1. iPod
    Member
    Posted 6 years ago #

    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 ;-)

  2. kmessinger
    Moderator
    Posted 6 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 />

  3. Shane G
    Member
    Posted 6 years ago #

    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.

  4. semper tiro
    Member
    Posted 6 years ago #

    For me, it was

    WordPress PHP Info

    that caused the problem.

  5. RobinInTexas
    Member
    Posted 6 years ago #

    Deactivating PHP Info fixed my problem as well.

    Thanks Semper.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.