PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

List Field Bug in User Registration Update

  1. Flint Interactive
    Member

    When using the list field on a User Registration Update form -- with existing data -- the add-on fails with the following:

    "array_values() expects parameter 1 to be array, string given..."

    I was able to address the error by editing the following in userregistration.php (~ line 6817).

    Hopefully a fix like this can be worked into an upcoming update?

    foreach($value as $vals) {
    						if(!is_array($vals)){
    							$vals = array($vals);
    						}
                            $list_values = array_merge($list_values, array_values($vals));
    
                        }
    Posted 11 years ago on Tuesday April 16, 2013 | Permalink
  2. I'll bring this to the attention of the development team.

    Posted 11 years ago on Thursday April 18, 2013 | Permalink
  3. HI. Can you please let us know which version of the User Registration add-on you are using, and confirm your Gravity Forms and WordPress version as well?

    Posted 11 years ago on Friday April 19, 2013 | Permalink