blakej115 / magic-forms

Create easy (and almost magic) AJAX forms
https://octobercms.com/plugin/blakejones-magicforms
MIT License
6 stars 4 forks source link

Unable to send email notifications when sending a form #9

Closed johrclaessens closed 9 months ago

johrclaessens commented 1 year ago

OctoberCMS version: 2.2.34 Magic Forms version: 1.6.4

When activating e-mail notifications in the component (both notifications and auto-response), the form will throw the following error:

"Declaration of Egulias\EmailValidator\Validation\MessageIDValidation::isValid(string $email, Egulias\EmailValidator\EmailLexer $emailLexer): bool must be compatible with Egulias\EmailValidator\Validation\EmailValidation::isValid($email, Egulias\EmailValidator\EmailLexer $emailLexer)" on line 23 of **/home/**user**/domains/**domain.com**/public_html/vendor/egulias/email-validator/src/Validation/MessageIDValidation.php**

blakej115 commented 9 months ago

The latest compatible version of Magic Forms that is compatible with October CMS v2 is v1.5.2 of Magic Forms.

You should downgrade Magic Forms to 1.5.2 or update October CMS to v3.

Thanks!