Title: Strict Standards: call_user_func_array
Last modified: August 22, 2016

---

# Strict Standards: call_user_func_array

 *  [bluegrassmedia](https://wordpress.org/support/users/bluegrassmedia/)
 * (@bluegrassmedia)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/strict-standards-call_user_func_array/)
 * At the top of my admin page it says:
 * “Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback,
   non-static method MostWanted::config_page() should not be called statically in/
   home/a3842/public_html/wp-includes/plugin.php on line 496”
 * I looked at my plugin.php file and section in question says:
 * 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 );
 * Does anyone know how to fix it?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Justin Greer](https://wordpress.org/support/users/justingreerbbi/)
 * (@justingreerbbi)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/strict-standards-call_user_func_array/#post-5674890)
 * What version of WP are you running? Update if you are not using the latest version.
 * The issue is that a plugin or theme is adding an action using `add_action(MostWanted,'
   config_page')`. With how WordPress calls actions and In PHP 5 if the server is
   set to display strict standards you will see this.
 * – You can ensure WP_DEBUG is set to false in the wp-config.php file.
    – You can
   turn of strict standards warnings in the php.ini file. – Change theme to Twenty
   Fifteen and Check for errors. – Disabled plugins and enable then one by one until
   the error comes back.
 *  Thread Starter [bluegrassmedia](https://wordpress.org/support/users/bluegrassmedia/)
 * (@bluegrassmedia)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/strict-standards-call_user_func_array/#post-5674961)
 * I don’t think I can access the PHP.ini file, I have a shared hosting.
 * I’ve tried all the other options. The only one that worked was changing my theme
   but I want to keep my current theme.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Strict Standards: call_user_func_array’ is closed to new replies.

## Tags

 * [call_user_func_array](https://wordpress.org/support/topic-tag/call_user_func_array/)
 * [plugin.php](https://wordpress.org/support/topic-tag/plugin-php/)
 * [strict standards](https://wordpress.org/support/topic-tag/strict-standards/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [bluegrassmedia](https://wordpress.org/support/users/bluegrassmedia/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/strict-standards-call_user_func_array/#post-5674961)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
