wpmu array_merge() error for array

when you twist wpmu, sometime plugin does not work well especially aray_merge().

When the plugin call array_merge($options, $default), you may get argument #1 is not array error.

The solution is very simple, just change the code to array_merge((array)$options, $default)

Rating: 9.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. wordpress similar posts error fix if you get an error like this when you turn...
  3. How to fix the problem of “Warning: call_user_func_array()” Some plugin may have the conflicts of the current 2.6...
  4. Call to undefined function: wp_register_sidebar_widget()’ error if your wpmu plugin is using wp_register_sidebar_widget(), then you will...
  5. Support Iphone surfing and optimize for Iphone layout Thanks for the people's hard working on wordpress and you...

Leave a Reply

Preview:

Tags:
Separate individual tags by commas