I have just uploaded a site to my server and I'm getting this error in relation to plugin.php
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'cp_admin_init' was given in /.../html/.../wp-includes/plugin.php on line 395
Any clues as to what this means? Oddly enough, the same site runs just fine if I run it on my computer with MAMP.
Line 395 of plugin.php consists of:
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 );