Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
2.1.0
-
None
Description
500er and no e-mail on form submit.
Steps to reproduce:
1. Create a form
2. Set a e-mail receiver
3. Fill the necessary fields
4. Submit the form
Expected:
To get an form e-mail with the form information
Actual:
ex: Symfony\Component\Debug\Exception\UndefinedMethodException ex-file: /var/www/vendor/ezsystems/ezstudio-form-builder/lib/Core/SignalSlot/Slot/OnFormSubmitSlot.php ex-line: 79 ex-message: Attempted to call an undefined method named "newInstance" of class "Swift_Message". server: nginx status: 500 vary: Authorization :authority: example-domain.de :method: POST :path: /bundle/formbuilder/submit/3
Used Versions(composer.lock):
"ezsystems/ezplatform-ee": "v2.1.0", "ezsystems/ezstudio-form-builder": "~2.1.0", "symfony/swiftmailer-bundle": "^3.0", "swiftmailer/swiftmailer": "v6.0.2"
Additional:
Looks like they removed the newInstance() in >=6.0.0 like to read here:
https://github.com/swiftmailer/swiftmailer/blob/master/CHANGES#L24