WordPress.org

Forums

plugin.php Warning: call_user_func_array error (4 posts)

  1. ejcross
    Member
    Posted 7 years ago #

    Hello to all!

    I am working on a new site for my church and I am getting the following error:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'social_bookmarks::include_header' was given in /home/ejcrossc/public_html/ubc/wp-includes/plugin.php on line 160

    This seems to be triggered by the Social Bookmarks plugin from: http://www.dountsis.com/projects/social-bookmarks/

    I can't figure out what is going on with it as when I disable the plugin, all is well. The plugin works just fine also while still giving the error message.

    You can view the site here: http://ejcross.com/ubc/

    I am running WP 2.2.1 with PHP 5.1.6 and mySQL 5.0.27.

    Any help would be greatly appreciated as I am newer to the WP community and usage.

    Thanks in advance!

  2. Trahald
    Member
    Posted 7 years ago #

    Not sure if this will help or not, but try reuploading the wp-includes/functions.php file with the original.

  3. ejcross
    Member
    Posted 7 years ago #

    Didn't make a difference, as I reloaded the plugin.php and function.php with no change. I also didn't make any modifications to either of these files. Any other ideas would be appreciated as I'm not sure what the error message means.

  4. ejcross
    Member
    Posted 7 years ago #

    Ok, found the problem. The Social Bookmarks plugin has an array function call for the wp_head. The problem is there is no defined function in the Social Bookmarks plugin. I commented out the section and all seems fine now.

Topic Closed

This topic has been closed to new replies.

About this Topic