Title: in_array() error
Last modified: August 21, 2016

---

# in_array() error

 *  Resolved [pils87](https://wordpress.org/support/users/pils87/)
 * (@pils87)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/in_array-error/)
 * This is what i get on my register page and login popup (while i unchecked the
   checkbox for “Login form” in my admin):
 * Warning: in_array() expects parameter 2 to be array, string given in /home/single1q/
   public_html/wp-content/plugins/agreeable/agreeable.php on line 47
 * Warning: in_array() expects parameter 2 to be array, null given in /home/single1q/
   public_html/wp-content/plugins/agreeable/agreeable.php on line 47
 * Warning: in_array() expects parameter 2 to be array, string given in /home/single1q/
   public_html/wp-content/plugins/agreeable/agreeable.php on line 47
 * Warning: in_array() expects parameter 2 to be array, null given in /home/single1q/
   public_html/wp-content/plugins/agreeable/agreeable.php on line 47
 * any ideas?
 * [https://wordpress.org/plugins/agreeable/](https://wordpress.org/plugins/agreeable/)

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

 *  Thread Starter [pils87](https://wordpress.org/support/users/pils87/)
 * (@pils87)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/in_array-error/#post-4605135)
 * Hmm there just was a update that fixed the error above but is giving a new one
   ^^
 * No i see the checkbox op my register page but when i submit the form (checkbox
   checked or unchecked) it says:
 * Warning: Missing argument 2 for wp_authenticate_user_acc() in /home/single1q/
   public_html/wp-content/plugins/agreeable/agreeable.php on line 11
 *  Plugin Author [buildcreate](https://wordpress.org/support/users/buildcreate/)
 * (@buildcreate)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/in_array-error/#post-4605162)
 * Should be resolved in 0.1.2.1, just updated. Let me know if that fixes it for
   you 🙂
 *  Thread Starter [pils87](https://wordpress.org/support/users/pils87/)
 * (@pils87)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/in_array-error/#post-4605164)
 * Hmmm, not getting better. These are the errors i now get when i try to sign up:
   Warning: Missing argument 2 for wp_authenticate_user_acc() in /home/single1q/
   public_html/wp-content/plugins/agreeable/agreeable.php on line 11Warning: in_array()
   expects parameter 2 to be array, null given in /home/single1q/public_html/wp-
   content/plugins/agreeable/agreeable.php on line 16Warning: in_array() expects
   parameter 2 to be array, null given in /home/single1q/public_html/wp-content/
   plugins/agreeable/agreeable.php on line 16
 * And also when i try to login to my wp-admin it won’t let me and gives these errors
   ^^Warning: in_array() expects parameter 2 to be array, null given in /home/single1q/
   public_html/wp-content/plugins/agreeable/agreeable.php on line 16Warning: in_array()
   expects parameter 2 to be array, null given in /home/single1q/public_html/wp-
   content/plugins/agreeable/agreeable.php on line 16Warning: Cannot modify header
   information – headers already sent by (output started at /home/single1q/public_html/
   wp-content/plugins/agreeable/agreeable.php:16) in /home/single1q/public_html/
   wp-includes/pluggable.php on line 678Warning: Cannot modify header information–
   headers already sent by (output started at /home/single1q/public_html/wp-content/
   plugins/agreeable/agreeable.php:16) in /home/single1q/public_html/wp-includes/
   pluggable.php on line 679Warning: Cannot modify header information – headers 
   already sent by (output started at /home/single1q/public_html/wp-content/plugins/
   agreeable/agreeable.php:16) in /home/single1q/public_html/wp-includes/pluggable.
   php on line 680Warning: Cannot modify header information – headers already sent
   by (output started at /home/single1q/public_html/wp-content/plugins/agreeable/
   agreeable.php:16) in /home/single1q/public_html/wp-includes/pluggable.php on 
   line 896
 *  Plugin Author [buildcreate](https://wordpress.org/support/users/buildcreate/)
 * (@buildcreate)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/in_array-error/#post-4605173)
 * Hmm, is this Buddypress or standard WP?
 *  Thread Starter [pils87](https://wordpress.org/support/users/pils87/)
 * (@pils87)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/in_array-error/#post-4605176)
 * It’s buddypress.
 *  Plugin Author [buildcreate](https://wordpress.org/support/users/buildcreate/)
 * (@buildcreate)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/in_array-error/#post-4605181)
 * Thanks, I’m all over it.

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

The topic ‘in_array() error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/agreeable_4f8aee.svg)
 * [Agreeable](https://wordpress.org/plugins/agreeable/)
 * [Support Threads](https://wordpress.org/support/plugin/agreeable/)
 * [Active Topics](https://wordpress.org/support/plugin/agreeable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/agreeable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/agreeable/reviews/)

## Tags

 * [agree](https://wordpress.org/support/topic-tag/agree/)
 * [in_array](https://wordpress.org/support/topic-tag/in_array/)
 * [terms](https://wordpress.org/support/topic-tag/terms/)

 * 6 replies
 * 2 participants
 * Last reply from: [buildcreate](https://wordpress.org/support/users/buildcreate/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/in_array-error/#post-4605181)
 * Status: resolved