Title: [Plugin: BuddyPress Registration Options] Warning: in_array() [function.in-array]: Wrong datatype fo
Last modified: August 20, 2016

---

# [Plugin: BuddyPress Registration Options] Warning: in_array() [function.in-array]: Wrong datatype fo

 *  Resolved [Chito](https://wordpress.org/support/users/chitaranjanthoudam/)
 * (@chitaranjanthoudam)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-buddypress-registration-options-warning-in_array-functionin-array-wrong-datatype-for-second-argument-in/)
 * Got this error in buddypress. Please help
 * Warning: in_array() [function.in-array]: Wrong datatype for second argument in/
   home/egfschoo/public_html/alumni/wp-content/plugins/bp-registration-options/bp-
   registration-options.php on line 1594
 * Looks like there are people facing the same issue but no help ([see here](http://plugins.webdevstudios.com/support/topic/wrong-datatype-for-second-argument/)).
 * Line 1594 is
    if (in_array($is_bp, $is_bp_dir) && $is_bp!=”register” && $is_bp!
   =”activate”) {
 * [http://wordpress.org/extend/plugins/bp-registration-options/](http://wordpress.org/extend/plugins/bp-registration-options/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [clikwiz](https://wordpress.org/support/users/clikwiz/)
 * (@clikwiz)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-buddypress-registration-options-warning-in_array-functionin-array-wrong-datatype-for-second-argument-in/#post-2596610)
 * It would be really great if this could be fixed. I could really use this plugin.
 *  [Yotam Tavor](https://wordpress.org/support/users/yotam-tavor/)
 * (@yotam-tavor)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-buddypress-registration-options-warning-in_array-functionin-array-wrong-datatype-for-second-argument-in/#post-2596622)
 * Take a look at this fix – seems to solve it for me.
    [http://wordpress.org/support/topic/plugin-buddypress-registration-options-how-to-fix-bp-registration-options-so-it-works-with-buddypress-15](http://wordpress.org/support/topic/plugin-buddypress-registration-options-how-to-fix-bp-registration-options-so-it-works-with-buddypress-15)
 *  Thread Starter [Chito](https://wordpress.org/support/users/chitaranjanthoudam/)
 * (@chitaranjanthoudam)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-buddypress-registration-options-warning-in_array-functionin-array-wrong-datatype-for-second-argument-in/#post-2596637)
 * Thanks Yotam,
    I will give a try.
 * It was difficult for me to protect from spam specially in buddypress registration,
   so wanted to keep a approval to check spammers, otherwise I don’t have any issue
   people using my blog. And I found WangGuard, that is excellent for protecting
   spam. But with all this, I love this plugin too for it’s fucntionality, I will
   use in some other blog.
 *  [Yotam Tavor](https://wordpress.org/support/users/yotam-tavor/)
 * (@yotam-tavor)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-buddypress-registration-options-warning-in_array-functionin-array-wrong-datatype-for-second-argument-in/#post-2596638)
 * You should use “anti splog” from [http://bit.ly/WPMUDEV](http://bit.ly/WPMUDEV)
   it’s free and works great to limit spam buddypress registrations. You can (and
   should) open another thread regarding this issue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: BuddyPress Registration Options] Warning: in_array() [function.
in-array]: Wrong datatype fo’ is closed to new replies.

 * ![](https://ps.w.org/bp-registration-options/assets/icon-256x256.png?rev=2882040)
 * [Registration Options for BuddyPress](https://wordpress.org/plugins/bp-registration-options/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-registration-options/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-registration-options/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-registration-options/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-registration-options/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-registration-options/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Yotam Tavor](https://wordpress.org/support/users/yotam-tavor/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-buddypress-registration-options-warning-in_array-functionin-array-wrong-datatype-for-second-argument-in/#post-2596638)
 * Status: resolved