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.

Option - checkboxess - error: explode() expects parameter 2 to be string...

  1. zata
    Member

    When using option field with checkboxes - like this: http://s1.img.pl/v/1107/63968gf.png

    I'm getting bunch of errors when submiting form:
    Warning: explode() expects parameter 2 to be string, array given in ...\wp-content\plugins\gravityforms\forms_model.php on line 1206

    Errors were not showing on previous versions of GF.
    Everything works fine except errors showing.

    Installation Status
    PHP Version 5.3.5
    MySQL Version 5.5.8
    WordPress Version 3.2.1
    Gravity Forms Version 1.5.2.8
    Hosted on Windows

    PS.
    Sorry form my bad english :)

    Posted 12 years ago on Sunday July 17, 2011 | Permalink
  2. Does the error appear on the front end when the form is submitted? Can you post a link to the form so we can submit it and see the issue happening in our browser?

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  3. zata
    Member

    Yes the error appear on the font end - on top of page.
    You can see it here: http://light-system.pl/cennik
    Form is in Polish language - most fields are obvious so it think it won't be a problem.

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  4. Can you do me a favor and send me the export of your form? alex@rocketgenius.com

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  5. To provide Alex what he needs above you can go to Import/Export, then select Export Forms and then export that individual form to XML. Then send Alex that XML file to the email he provided and he can take a look.

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  6. zata
    Member

    I found the problem :)
    In confirmation message I tried to list selected options like this:

    Options: {Option (First Option):3.1} {Option (Second Option):3.2}

    If You put more than one {Option (...):3.x} in confirmation message the error will appear, but from my observation only when You have more than 2 pages.
    I sent fresh form made while testing and the error is showing.

    Posted 12 years ago on Monday July 18, 2011 | Permalink