• Resolved notquitewild

    (@notquitewild)


    This plugin was working beautifully for me a few days ago, but I just checked out my registration form (the first time since the new automatic update), and my additional fields now show an error message along these lines:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/*******/public_html/wp-content/plugins/register-plus-redux/register-plus-redux.php on line 1629

    I am no programmer and this means nothing to me at all. Can anyone tell me how to fix this? I’m assuming it is something to do with the update because of the timing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author radiok

    (@radiok)

    I figured out the problem, and it’s kind of a doozy… Line 1629 should be changed from:
    if ( in_array(stripslashes($custom_field_option), $_POST[$key])) echo " checked='checked'";
    to:
    if ( is_array($_POST[$key]) && in_array(stripslashes($custom_field_option), $_POST[$key])) echo " checked='checked'";
    If you want to, or can, change that by hand, great. I will be pushing a 3.6.22 update soon because that’s a stupid error and anyone with custom checkbox fields is going to run into it. Thank you for reporting this problem.

    Thread Starter notquitewild

    (@notquitewild)

    Thanks for looking after this so quickly. I uploaded the new update and it is back to looking wonderful again. You’re doing a great job sharing this and I’m very grateful. Thanks again.

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

The topic ‘[Plugin: Register Plus Redux] Additional fields not working since update’ is closed to new replies.