Title: PHP Warning
Last modified: August 20, 2016

---

# PHP Warning

 *  [Zukes](https://wordpress.org/support/users/zukes/)
 * (@zukes)
 * [14 years ago](https://wordpress.org/support/topic/php-warning-4/)
 * 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/](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)

 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [14 years ago](https://wordpress.org/support/topic/php-warning-4/#post-2770366)
 * ^ 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](https://wordpress.org/support/users/zukes/)
 * (@zukes)
 * [14 years ago](https://wordpress.org/support/topic/php-warning-4/#post-2770373)
 * Roger that, will do as you suggest Frumph.
    Thank you for your suggestion, will
   post back later tonight.
 *  Thread Starter [Zukes](https://wordpress.org/support/users/zukes/)
 * (@zukes)
 * [14 years ago](https://wordpress.org/support/topic/php-warning-4/#post-2770642)
 * 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.

## Tags

 * [call_user_func_array](https://wordpress.org/support/topic-tag/call_user_func_array/)
 * [error_log](https://wordpress.org/support/topic-tag/error_log/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Zukes](https://wordpress.org/support/users/zukes/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/php-warning-4/#post-2770642)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
