500 Error on Form Submit

Hi,



I am getting a 500 error when I submit a form:

I tried it directly on the form page on mautic: <a href="/form/submit?formId=3

" class=“bbcode_url”>/form/submit?formId=3







Code:
[2017-03-10 13:53:41] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] [] [2017-03-10 13:55:08] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] [] [2017-03-10 08:55:29] mautic.CRITICAL: Uncaught PHP Exception Swift_RfcComplianceException: "Address set in PathHeader does not comply with addr-spec of RFC 2822." at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php line 138 {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address set in PathHeader does not comply with addr-spec of RFC 2822. at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php:138)"} [] [2017-03-10 13:57:31] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] [] [2017-03-10 13:57:36] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] [] [2017-03-10 13:58:17] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] [] [2017-03-10 08:58:51] mautic.CRITICAL: Uncaught PHP Exception Swift_RfcComplianceException: "Address set in PathHeader does not comply with addr-spec of RFC 2822." at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php line 138 {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address set in PathHeader does not comply with addr-spec of RFC 2822. at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php:138)"} [] [2017-03-10 09:00:39] mautic.CRITICAL: Uncaught PHP Exception Swift_RfcComplianceException: "Address set in PathHeader does not comply with addr-spec of RFC 2822." at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php line 138 {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address set in PathHeader does not comply with addr-spec of RFC 2822. at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php:138)"} [] [2017-03-10 14:01:39] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] [] [2017-03-10 09:02:08] mautic.ERROR: PHP Error - Argument 1 passed to MauticFormBundleModelFormModel::populateValuesWithGetParameters() must be an instance of MauticFormBundleEntityForm, null given, called in /opt/bitnami/apps/mautic/htdocs/app/bundles/FormBundle/Controller/FormController.php on line 904 and defined - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/FormBundle/Model/FormModel.php - at line 718 [] [] [2017-03-10 14:18:09] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] [] [2017-03-10 14:27:44] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] [] [2017-03-10 09:33:29] mautic.CRITICAL: Uncaught PHP Exception Swift_RfcComplianceException: "Address set in PathHeader does not comply with addr-spec of RFC 2822." at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php line 138 {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address set in PathHeader does not comply with addr-spec of RFC 2822. at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php:138)"} [] [2017-03-10 14:36:28] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] [] [2017-03-10 10:21:21] mautic.CRITICAL: Uncaught PHP Exception Swift_RfcComplianceException: "Address set in PathHeader does not comply with addr-spec of RFC 2822." at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php line 138 {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address set in PathHeader does not comply with addr-spec of RFC 2822. at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php:138)"} []

I get this a lot so I removed a bunch from the log
Code:
[2017-03-10 14:18:09] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []
Here is what I see in the browser console:
Code:
POST [URL HIDDEN]/form/submit?formId=3 500 ()

I get the same if I try on the website where the form is embedded.
The submissions get processed, but I have an action attached to the form, which is supposed to send an email with the submission, which never gets sent.
The button also turns blank.

The form is supposed to redirect to a page, but does the same if I tell it to display a message.

Hi,

I am getting a 500 error when I submit a form:
I tried it directly on the form page on mautic: [URL HIDDEN]/form/submit?formId=3

[2017-03-10 13:53:41] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []
[2017-03-10 13:55:08] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []
[2017-03-10 08:55:29] mautic.CRITICAL: Uncaught PHP Exception Swift_RfcComplianceException: "Address set in PathHeader does not comply with addr-spec of RFC 2822." at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php line 138 {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address set in PathHeader does not comply with addr-spec of RFC 2822. at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php:138)"} []
[2017-03-10 13:57:31] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []
[2017-03-10 13:57:36] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []
[2017-03-10 13:58:17] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []
[2017-03-10 08:58:51] mautic.CRITICAL: Uncaught PHP Exception Swift_RfcComplianceException: "Address set in PathHeader does not comply with addr-spec of RFC 2822." at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php line 138 {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address set in PathHeader does not comply with addr-spec of RFC 2822. at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php:138)"} []
[2017-03-10 09:00:39] mautic.CRITICAL: Uncaught PHP Exception Swift_RfcComplianceException: "Address set in PathHeader does not comply with addr-spec of RFC 2822." at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php line 138 {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address set in PathHeader does not comply with addr-spec of RFC 2822. at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php:138)"} []
[2017-03-10 14:01:39] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []
[2017-03-10 09:02:08] mautic.ERROR: PHP Error - Argument 1 passed to MauticFormBundleModelFormModel::populateValuesWithGetParameters() must be an instance of MauticFormBundleEntityForm, null given, called in /opt/bitnami/apps/mautic/htdocs/app/bundles/FormBundle/Controller/FormController.php on line 904 and defined - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/FormBundle/Model/FormModel.php - at line 718 [] []
[2017-03-10 14:18:09] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []
[2017-03-10 14:27:44] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []
[2017-03-10 09:33:29] mautic.CRITICAL: Uncaught PHP Exception Swift_RfcComplianceException: "Address set in PathHeader does not comply with addr-spec of RFC 2822." at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php line 138 {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address set in PathHeader does not comply with addr-spec of RFC 2822. at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php:138)"} []
[2017-03-10 14:36:28] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []
[2017-03-10 10:21:21] mautic.CRITICAL: Uncaught PHP Exception Swift_RfcComplianceException: "Address set in PathHeader does not comply with addr-spec of RFC 2822." at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php line 138 {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address set in PathHeader does not comply with addr-spec of RFC 2822. at /opt/bitnami/apps/mautic/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php:138)"} []

I get this a lot so I removed a bunch from the log

[2017-03-10 14:18:09] mautic.NOTICE: PHP Notice - Undefined index: path - in file /opt/bitnami/apps/mautic/htdocs/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 112 [] []

Here is what I see in the browser console:

POST [URL HIDDEN]/form/submit?formId=3 500 ()

I get the same if I try on the website where the form is embedded.
The submissions get processed, but I have an action attached to the form, which is supposed to send an email with the submission, which never gets sent.
The button also turns blank.

The form is supposed to redirect to a page, but does the same if I tell it to display a message.

It turns out the problem was the bounce domain on the email settings. I had an action configured that would send an email as soon as the user submits the form.
I removed it and it worked. I am using Sparkpost to send emails