Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

”in_array” warning upon upgrading to WP & BP (3 posts)

Started 1 year, 9 months ago by: kenleyneufeld

  • Recently upgraded from WPMU to WP 3.0.1 with BuddyPress Social 1.1.8 as my theme and using the BuddyPress Plugin Version 1.2.5.2. As soon as the plugin is activated in the Dashboard, I receive the following message through the primary blog and the Dashboard:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/kenleyneufeld/classes.kenleyneufeld.com/wp-content/plugins/buddypress/bp-core.php on line 315

    If I deactivate the plugin, the error disappears but then so do the features of the plugin that I want and need for the site. I have tried deleting and reinstalling the plugin with the same result.

    Further, all the images on the site seem to be broken. Could be related?

    Any direction or support is appreciated.

  • Discovered the culprit for the error was the Twire plugin. I disabled this plugin and the error disappeared. Case closed.

  • Profile picture of Dfa327 Dfa327 said 1 year, 5 months ago:

    Hi,

    Didn’t realize the plugin caused this. So sorry:( Did you ever figure out how/why by chance? I’m looking at upgrading the plugins I wrote.

    Thanks,
    Dave