• Hello everyone, I have a problem!
    This is my first post here, hope it is well written.

    My problem
    I opened my error_log today, that is inside the public_html folder and this is what i saw:

    [25-May-2012 13:50:12] PHP Warning:  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, 'wp_admin_bar_wp_menu' was given in /***/wp-includes/plugin.php on line 486
    [25-May-2012 13:50:12] PHP Warning:  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, 'wp_admin_bar_comments_menu' was given in /***/wp-includes/plugin.php on line 486

    ***: edited out

    Line 486 of plugin.php is:

    do {
    		foreach( (array) current($wp_filter[$tag]) as $the_ )
    			if ( !is_null($the_['function']) )
    				call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
    
    	} while ( next($wp_filter[$tag]) !== false );
    
    	array_pop($wp_current_filter);
    }

    My plugins folder:

    • aksimet
    • contact-form-7
    • contact-form-7-widget
    • lightbox-plus
    • resize-at-upload
    • simple-admin-menu-editor
    • wp-table-reloaded
    • \

    My theme is skeleton: http://demos.simplethemes.com/skeleton/

    Is this error slowing my wordpress down?
    Hope someone has a clue or advice, will be very appreciated, thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • ^ out of that list, I would think that it’s the simple-admin-menu-editor causing it.

    I would disable that plugin and clear the error log file to see if it comes up again after disabling that one.

    Reading the php error it’s reporting “wp_admin_bar_comments_menu” and “wp_admin_bar_wp_menu” from within a plugin, that particular plugin looks like it would be the only one that would want to access it.

    If the log error doesn’t come back after disabling it and you go about your regular site workings, then I would report that to the plugin developer of that particular plugin.

    Thread Starter Zukes

    (@zukes)

    Roger that, will do as you suggest Frumph.
    Thank you for your suggestion, will post back later tonight.

    Thread Starter Zukes

    (@zukes)

    I tested the plugin, it is not causing this. I will try a fresh install. Thank you again Frumph. Marked as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Warning’ is closed to new replies.