2008-09-25
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
Related posts:
- How to twist wordpress plugin into wpmu sometimes, we are just so stupid that wanna directly dump...
- Fotobook plugin conflicts If you put fotobook plugin into the wpmu, and you...
- wordpress memory exhaust problem Two steps you have to follow to fix the problem...
- wordpress similar posts error fix if you get an error like this when you turn...
- wpmu array_merge() error for array when you twist wpmu, sometime plugin does not work well...
![[del.icio.us]](http://my.textjourney.com/eric/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://my.textjourney.com/eric/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://my.textjourney.com/eric/wp-content/plugins/bookmarkify/facebook.png)
![[Google]](http://my.textjourney.com/eric/wp-content/plugins/bookmarkify/google.png)
![[MySpace]](http://my.textjourney.com/eric/wp-content/plugins/bookmarkify/myspace.png)
![[Technorati]](http://my.textjourney.com/eric/wp-content/plugins/bookmarkify/technorati.png)
![[Twitter]](http://my.textjourney.com/eric/wp-content/plugins/bookmarkify/twitter.png)
![[Windows Live]](http://my.textjourney.com/eric/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://my.textjourney.com/eric/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://my.textjourney.com/eric/wp-content/plugins/bookmarkify/email.png)








