Issue with multi-page form causing phpmailerException
Melissa B created the topic: Issue with multi-page form causing phpmailerException
I created a multi-page form which worked until I added pages 3 and 4 (see
safariclubpittsburgh.org/registration-fo...rgh-sci-2-day-event/
) Now, I get an exception when the final submit button is clicked (error below). I can't even get into the forms options page now - it constantly pops up with "This is not a valid email address" and never shows me anything on the options page/tabs. There's a valid email address in the "from" field shown on the forms listing page. As a separate issue, mobile viewing does not work and when I added the code you had me previously add to a form, it turns it into a one page form instead of 4.
Fatal error: Uncaught exception 'phpmailerException' with message 'Invalid address: (setFrom) 2' in /home/scipittsburgh/public_html/wp-includes/class-phpmailer.php:1023 Stack trace: #0 /home/scipittsburgh/public_html/wp-includes/pluggable.php(352): PHPMailer->setFrom('2', '''', false) #1 /home/scipittsburgh/public_html/wp-content/plugins/form-maker/frontend/models/FMModelForm_maker.php(2686): wp_mail('msb@emkayconsul...', '2017 2-Day Even...', '<p><table borde...', 'From: '' <2>\r\n ...', Array) #2 /home/scipittsburgh/public_html/wp-content/plugins/form-maker/frontend/models/FMModelForm_maker.php(170): FMModelForm_maker->gen_mail('134', Array, 14, '
www.pay
...') #3 /home/scipittsburgh/public_html/wp-content/plugins/form-maker/frontend/views/FMViewForm_maker.php(48): FMModelForm_maker->savedata(Object(stdClass), 14) #4 /home/scipittsburgh/public_html/wp-content/plugins/form-maker/frontend/controllers/FMControllerForm_maker.php(35): FMViewForm_maker->display(14) #5 /home/scipittsburgh/public_html/wp-content/plugins/ in /home/scipittsburgh/public_html/wp-includes/class-phpmailer.php on line 1023
Please Log in or Create an account to join the conversation.
6 years 10 months ago
Zhanna Khachatryan replied the topic: Issue with multi-page form causing phpmailerException
Hi Mellisa,
Thanks for your iqnuiry.
Mellisa the error that appears after hitting the submit button, comes from your back-end "This is not a valid email address" error.
To fix this back-end error, we have a small screen video shared here
Please watch the video and try to solve this issue. If you'll have any difficulties or if after solving back-end issue this problem won't be gone, please write us at [email protected] and provide full admin access to your website? Our developers will check and solve the issue, please also include this forum post URL in your email.
Kind regards,
Zhanna K.
Web-Dorado team
Try out our brand new plugins:
MailChimp WD
Google Analytics WD
Explore them and share your thoughts!
Please Log in or Create an account to join the conversation.
-
- Zhanna Khachatryan
- Offline
- Moderator
-
- Posts: 2081
- Thank you received: 135
6 years 10 months ago
Melissa B replied the topic: Issue with multi-page form causing phpmailerException
Thank you! This worked!! However, how did the number get in there in the first place?? Is this a bug? Thanks again for your response.
Melissa
Please Log in or Create an account to join the conversation.
6 years 10 months ago
Zhanna Khachatryan replied the topic: Issue with multi-page form causing phpmailerException
Hi Melissa,
We used to think that users are writing those numbers accidentally.
But seems this issue occurs with many users, so that can be a bug, we just don't know in which case it appears. If you could write how you have created this form (maybe you have copied another form?) this will help us to understand the issue and find the bug if that exists.
Kind regards,
Zhanna K.
Web-Dorado team
Try out our brand new plugins:
MailChimp WD
Google Analytics WD
Explore them and share your thoughts!
Please Log in or Create an account to join the conversation.
-
- Zhanna Khachatryan
- Offline
- Moderator
-
- Posts: 2081
- Thank you received: 135
6 years 10 months ago
Melissa B replied the topic: Issue with multi-page form causing phpmailerException
Hello - I did copy the Registration (sample) form to create this one. However, I obviously changed it quite a bit. Hope that helps!
Please Log in or Create an account to join the conversation.
6 years 10 months ago
Zhanna Khachatryan replied the topic: Issue with multi-page form causing phpmailerException
Thanks Melissa for feedback, this will help us to investigate the bug.
Kind regards,
Zhanna K.
Web-Dorado team
Try out our brand new plugins:
MailChimp WD
Google Analytics WD
Explore them and share your thoughts!
Please Log in or Create an account to join the conversation.
-
- Zhanna Khachatryan
- Offline
- Moderator
-
- Posts: 2081
- Thank you received: 135
6 years 10 months ago