This started happening after I moved my wordpress installation from the shared hosting to a vps.
The full error is this:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two members in /home/pcsteps/public_html/wp-includes/plugin.php on line 199
I get it only when I install or update a plugin. It doesn't seem to affect the plugin's function in any way.
The line mentioned on plugin.php is the following:
195 do {
196 foreach( (array) current($wp_filter[$tag]) as $the_ )
197 if ( !is_null($the_['function']) ){
198 $args[1] = $value;
199 $value = call_user_func_array($the_['function'], array_slice($args, 1, (int) $the_['accepted_args']));
200 }
201
202 } while ( next($wp_filter[$tag]) !== false );
I 've looked far and wide on the internet, but couldn't find a solution.
Any help is welcome :)