Support » Fixing WordPress » plugin.php Warning: call_user_func_array error

  • 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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Not sure if this will help or not, but try reuploading the wp-includes/functions.php file with the original.

    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.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘plugin.php Warning: call_user_func_array error’ is closed to new replies.