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

    (@bluegrassmedia)

    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.