Title: I get a PHP error.
Last modified: August 21, 2016

---

# I get a PHP error.

 *  Resolved [IceReaper](https://wordpress.org/support/users/icereaper/)
 * (@icereaper)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/i-get-a-php-error/)
 * This error pops up three times on the same page.
 * Warning: in_array() [function.in-array]: Wrong datatype for second argument in
   public_html/wp-content/plugins/agreeable/agreeable.php on line 47
 * Any ideas?
 * [https://wordpress.org/plugins/agreeable/](https://wordpress.org/plugins/agreeable/)

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

 *  [M. Bueno](https://wordpress.org/support/users/m-bueno/)
 * (@m-bueno)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/i-get-a-php-error/#post-4588969)
 * IceReaper, if you have FTP access to files on the host, open the file “agreeable.
   php” in the plugin directory, and enter “//” (two bars, comment line) at the 
   beginning of line 47, before “if(“, and so on line 52, before”} “.
 *  [M. Bueno](https://wordpress.org/support/users/m-bueno/)
 * (@m-bueno)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/i-get-a-php-error/#post-4588970)
 * Friend, did not work. The way I said above, it ends up allowing the user registration
   even disregarding the terms.
    I’m trying to solve the same problem, if I find
   the solution post here.
 *  Plugin Author [buildcreate](https://wordpress.org/support/users/buildcreate/)
 * (@buildcreate)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/i-get-a-php-error/#post-4588978)
 * That should be fixed now, let me know!

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

The topic ‘I get a PHP 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [buildcreate](https://wordpress.org/support/users/buildcreate/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/i-get-a-php-error/#post-4588978)
 * Status: resolved