Invalid Argument + Cannot modify header information
Permalink Browser Info Environment
Hi,
i've got a problem with the Advanced Forms after installation and adding a form to a page. Every time i use the submit-button i receive the following message:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Warning: Invalid argument supplied for foreach() in /mydomain/packages/sixeightforms/helpers/form/processor.php on line 418
Warning: Cannot modify header information - headers already sent by (output started at /mydomain/packages/sixeightforms/helpers/form/processor.php:418) in /mydomain/packages/sixeightforms/helpers/form/processor.php on line 422
{"hasErrors":true,"errorType":"validation","errors":[{"ffID":42,"label":"Label1","type":"required"},{"ffID":48,"label":"Label2","type":"required"},{"ffID":50,"label":"PLZ","type":"required"},{"ffID":51,"label":"Labe3","type":"required"},{"ffID":52,"label":"Label4","type":"required"},{"ffID":53,"label":"Label5","type":"required"},{"ffID":54,"label":"Label6","type":"required"}],"asID":null,"action":"thankyou","hook":null,"response":"Message"}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
May you give me some informatione what the problem could be? My second license works perfect (other domain, same hoster & apache settings).
Best regards,
Markus
i've got a problem with the Advanced Forms after installation and adding a form to a page. Every time i use the submit-button i receive the following message:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Warning: Invalid argument supplied for foreach() in /mydomain/packages/sixeightforms/helpers/form/processor.php on line 418
Warning: Cannot modify header information - headers already sent by (output started at /mydomain/packages/sixeightforms/helpers/form/processor.php:418) in /mydomain/packages/sixeightforms/helpers/form/processor.php on line 422
{"hasErrors":true,"errorType":"validation","errors":[{"ffID":42,"label":"Label1","type":"required"},{"ffID":48,"label":"Label2","type":"required"},{"ffID":50,"label":"PLZ","type":"required"},{"ffID":51,"label":"Labe3","type":"required"},{"ffID":52,"label":"Label4","type":"required"},{"ffID":53,"label":"Label5","type":"required"},{"ffID":54,"label":"Label6","type":"required"}],"asID":null,"action":"thankyou","hook":null,"response":"Message"}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
May you give me some informatione what the problem could be? My second license works perfect (other domain, same hoster & apache settings).
Best regards,
Markus
Type: | Pre-Sale |
---|---|
Status: | In Progress |
Hi Phil,
thanks a lot for your reply. I tried the solutions you send me, but that doesn't fix the problem. Meanwhile i found the mistake: i used a line-break in one "Error Message", this causes the failure.
May be fixed in the next version?
Thanks for you help Phil!!
thanks a lot for your reply. I tried the solutions you send me, but that doesn't fix the problem. Meanwhile i found the mistake: i used a line-break in one "Error Message", this causes the failure.
May be fixed in the next version?
Thanks for you help Phil!!
I believe I had this error message once and I think I fixed by changing the file permissions on the forms package to 777. Its worth a try.
I believe this can also be caused by UTF-8.So as you are in Germany i wonder if you have any unusual characters in these forms that you don't on the other working site?
I would create a very simply single entry form and see if that works in case your specific form is malfunctioning for some reason.
Best
Phil