Title: [Plugin: Register Plus] Wrong databasetype for second argument
Last modified: August 19, 2016

---

# [Plugin: Register Plus] Wrong databasetype for second argument

 *  [tallbiker66](https://wordpress.org/support/users/tallbiker66/)
 * (@tallbiker66)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-register-plus-wrong-databasetype-for-second-argument/)
 * Hi,
 * Configuring the RP 3.5.1 settings on top of WP 2.6 doesn’t work properly for 
   me. It spits out an error message for every ‘Required Profile Field’ there is.
   Please advice. Thank you!
 * It looks like this:
 * Warning: in_array() [function.in-array]: Wrong datatype for second argument in/
   data/laii/htdocs/wordpress/wp-content/plugins/register-plus/register-plus.php
   on line 784
    /> First Name Warning: in_array() [function.in-array]: Wrong datatype
   for second argument in /data/laii/htdocs/wordpress/wp-content/plugins/register-
   plus/register-plus.php on line 784 /> Last Name Warning: in_array() [function.
   in-array]: Wrong datatype for second argument in /data/laii/htdocs/wordpress/
   wp-content/plugins/register-plus/register-plus.php on line 784 /> Website Warning:
   in_array() [function.in-array]: Wrong datatype for second argument in /data/laii/
   htdocs/wordpress/wp-content/plugins/register-plus/register-plus.php on line 784/
   > AIM Warning: in_array() [function.in-array]: Wrong datatype for second argument
   in /data/laii/htdocs/wordpress/wp-content/plugins/register-plus/register-plus.
   php on line 784 /> Yahoo IM Warning: in_array() [function.in-array]: Wrong datatype
   for second argument in /data/laii/htdocs/wordpress/wp-content/plugins/register-
   plus/register-plus.php on line 784 /> Jabber / Google Talk Warning: in_array()[
   function.in-array]: Wrong datatype for second argument in /data/laii/htdocs/wordpress/
   wp-content/plugins/register-plus/register-plus.php on line 784 /> About Yourself
 * [http://wordpress.org/extend/plugins/register-plus/](http://wordpress.org/extend/plugins/register-plus/)

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

 *  Thread Starter [tallbiker66](https://wordpress.org/support/users/tallbiker66/)
 * (@tallbiker66)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-register-plus-wrong-databasetype-for-second-argument/#post-958055)
 * Oh, yeah, one more thing. When I try to save the settings it spits out another
   error message:
 * Warning: Invalid argument supplied for foreach() in /wordpress/wp-content/plugins/
   register-plus/register-plus.php on line 195.
 * Thank you.
 *  [clivo](https://wordpress.org/support/users/clivo/)
 * (@clivo)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-register-plus-wrong-databasetype-for-second-argument/#post-958254)
 * Hi, I’m having exactly the same error messages as the above.
 * Also every box is ticked and every text box contains the single character ‘A’
   it wont save anything. It was working fine and then I upgraded to WP 2.7. and
   cannot get it working. I have done exactly the same with another WP upgrade also
   using the latest version of R-P, using the same theme without any problems. I’ve
   switched all other plugins off and still does the same.
 * There must be some database upgrade problem. I’m also using role scoper although
   it worked fine before. I’m not using this on the other site.
    Any Ideas?
 *  [clivo](https://wordpress.org/support/users/clivo/)
 * (@clivo)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-register-plus-wrong-databasetype-for-second-argument/#post-958256)
 * I worked my way down to forum list and found a previous entry on this problem.
   So, deleting the register_plus row from the wp_options table in my database put
   the settings back to their defaults allowed me to manually copy my customizations.
   So, I’m sorted . . .
 *  Thread Starter [tallbiker66](https://wordpress.org/support/users/tallbiker66/)
 * (@tallbiker66)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-register-plus-wrong-databasetype-for-second-argument/#post-958267)
 * Hi Clivo,
 * I deleted the register_plus row from the wp_options table and it solved the problem
   for me. I was able to reconfigure the plugin settings through the web interface
   and save the configuration.
 * Thank you for pointing this out!

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

The topic ‘[Plugin: Register Plus] Wrong databasetype for second argument’ is closed
to new replies.

 * 4 replies
 * 2 participants
 * Last reply from: [tallbiker66](https://wordpress.org/support/users/tallbiker66/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-register-plus-wrong-databasetype-for-second-argument/#post-958267)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
