plugin.php call_user_func_array() error
-
I’m getting this error constantly:
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method SoccerInfo_Admin::add_editor_button() should not be called statically in /…/htdocs/…/wp-includes/plugin.php on line 496.
And the line (bolded) from the plugin.php is below.
‘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);
}’Any ideas how to fix this?
- The topic ‘plugin.php call_user_func_array() error’ is closed to new replies.