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.

Bug Report: Invalid argument with form display

  1. For the last couple of months, I get same error in the server error logs:

    PHP Warning: Invalid argument supplied for foreach() in .../plugins/gravityforms/form_display.php on line 1586

    I can't discover what is causing this error, or where, website works fine, and all forms work. Also, the function with error checks for conditional logic, and I don't use conditional logic with any of the forms.

    Milan Petrovic

    Posted 11 years ago on Tuesday August 28, 2012 | Permalink
  2. It's not really an error but a warning. There is probably something we can do better there to eliminate it. I will bring it to Alex's attention. Thanks for pointing that out.

    Posted 11 years ago on Tuesday August 28, 2012 | Permalink
  3. Check to see if there variable is valid array will do the trick.

    Posted 11 years ago on Tuesday August 28, 2012 | Permalink
  4. Hi, dev4press,

    A fix has been made and it will be included in the next public release.

    Posted 11 years ago on Tuesday August 28, 2012 | Permalink

This topic has been resolved and has been closed to new replies.