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.

custom field of checkbox type errors out upon submittal

  1. I have a form with multiple page breaks that creates a post and one of the Custom fields is of Checkbox type. When moving from the page containing the checkbox custom filed I get this message:
    Warning: hash_hmac() expects parameter 2 to be string, array given in /xxx/xxx/xxx/xxx/xxx/wp-includes/pluggable.php on line 1465

    And when I submit, I get this error:
    Warning: Invalid argument supplied for foreach() in /xxx/xxx/xxx/xxx/xxx/wp-content/plugins/gravityforms/common.php on line 3654

    Now in the dashboard when viewing the post, the custom fields are added but their value is "Array" and their number seems to be random, meaning if I have checked 4 boxes in the form, in the post are added just 2 or 1 or other random number less than the 4 that they should be.

    If you need I can give you user access to this wordpress site.

    Thank you,
    Anton

    Posted 12 years ago on Saturday November 19, 2011 | Permalink