-
-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two Forms on One Page Showing Server 500 Error When Second One Submitted #2072
Comments
Are you using different form:set tags? |
Yes |
Let’s see the template |
This?
|
Here is the Other:
|
I get server error 500 when trying to submit that template on top. Below is the log I got from Forge. I checked and all email addressesare configured and formatted properly? Or is this because my email handle on form not working is email_sm and needs to be email? [2020-07-13 23:45:49] local.ERROR: Address in mailbox given [] does not comply with RFC 2822, 3.6.2. {"exception":"[object] (Swift_RfcComplianceException(code: 0): Address in mailbox given [] does not comply with RFC 2822, 3.6.2. at /home/forge/www.domain.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php:355) |
That error there looks like an issue with Statamic trying to send an email. Make sure to configure your mail settings in your (If you're in local development, use the |
Thanks, but I know the config in my servers .env is right because it's been working. It only gives me this error when two are on one page. The config is just mailgun. So are you saying you have two forms on one page (not just a login form) working? |
100% my fault so sorry, closing now. |
I have two forms on one page...well one shows large and up and one shows medium screens and down. I'm having an issue where one of the forms works (large screen if it matters) and the other doesn't. I made sure all form handles are unique so I know it isn't an ID or input name issue.
How to Reproduce
Put two forms on one page with simple required validation on both. One will work, the other won't.
I have this live if you want to look for yourself DM me for the link.
Statamic version: 3.0.0.-beta-37
PHP version: 7.3
Install method:
statamic/statamic
The text was updated successfully, but these errors were encountered: