How to fix the problem of “Warning: call_user_func_array()”

Some plugin may have the conflicts of the current 2.6 version wordpress so does wpmu.

Here is one type of error

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘media_admin_css’ was given in ~/wp-includes/plugin.php on line 311

The “solution” is simple. Edit wp-includes/media.php

put this new function at the end of the file

function media_admin_css() {
wp_admin_css(’css/media’);
} 

Just put right before the last
Rating: 8.0/10 (1 vote cast)

Related posts:

  1. How to twist wordpress plugin into wpmu sometimes, we are just so stupid that wanna directly dump...
  2. Fotobook plugin conflicts If you put fotobook plugin into the wpmu, and you...
  3. wordpress memory exhaust problem Two steps you have to follow to fix the problem...
  4. wordpress similar posts error fix if you get an error like this when you turn...
  5. wpmu array_merge() error for array when you twist wpmu, sometime plugin does not work well...

Leave a Reply

Preview:

Tags:
Separate individual tags by commas