Call to undefined function: wp_register_sidebar_widget()’ error

if your wpmu plugin is using wp_register_sidebar_widget(), then you will get this error.

Very simple, of coz this wpmu, not wp. Just an easy change, will let you fly

take the wp_ off, you are on your way.

register_sidebar_widget()

register_widget_control()

OK, I have to admit this “solution” is very stupid. Sometimes it works, sometime it won’t.

If you want to make sure it work, you may wanna just theck if the function exists or not.

like this:

<?php
if (function_exists(
wp_register_sidebar_widget) && function_exists(wp_register_widget_control)) {
wp_
register_sidebar_widget();
wp_register_widget_control(); // no copy, this is an example. Use the plugin’s code here.
} else {
// not sure yet. Check around if anyone has a solution. Honestly, I did not find. You may just take this else condition off.

}
?>
Rating: 9.0/10 (1 vote cast)

Related posts:

  1. wpmu array_merge() error for array when you twist wpmu, sometime plugin does not work well...
  2. How to twist wordpress plugin into wpmu sometimes, we are just so stupid that wanna directly dump...
  3. How to fix the problem of “Warning: call_user_func_array()” Some plugin may have the conflicts of the current 2.6...
  4. Fotobook plugin conflicts If you put fotobook plugin into the wpmu, and you...
  5. wordpress similar posts error fix if you get an error like this when you turn...

Leave a Reply

Preview:

Tags:
Separate individual tags by commas