An error occurred while processing the form. Please try again
-
I used the forminator plugin for the newsletter in the footer of the website but when I try to fill the form and click subscribe it keeps saying “An error occurred while processing the form. Please try again” instead of the success message but when I check the form dashboard it shows that the submission entered
The page I need help with: [log in to see the link]
-
Hello @theboydemola
I reviewed your newsletter form and tried to submit it on my end however after about 20 seconds of waiting I got an error similar to yours, the browser console logs show a 500 server error.
There has been a critical error on this website.In order to find more information you need to check the site error logs, which usually can be found in your hosting error logs or in WordPress wp-contents folder, if the debug mode is already enabled otherwise you will need to enable the debug mode and try to reproduce that error so the logs are created.
Please take a look at this document to learn more about how to enable WordPress debug mode and where to find the error logs:
https://learn.wordpress.org/tutorial/debugging-in-wordpress/Once you found the error logs if you wouldn’t mind please share it here using a free storage like google drive or drop box.
Kind Regards,
AminAlright thank you, I have done this and here’s the link below
https://drive.google.com/drive/folders/1YABqR7Q5Y9_m3SdVVuHvRg6uyOuephLX?usp=drive_link
It seems this file is not public. Can you make it public so we can review this?
Also, can you export your form, upload it to Google Drive as well, and share the link in your next reply?
Kind Regards,
KrisHi @theboydemola,
Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open this thread if you need any further assistance.
Regards,
Nithin
So sorry about that so i have made it public, you can check the file now
https://drive.google.com/drive/folders/1YABqR7Q5Y9_m3SdVVuHvRg6uyOuephLX?usp=drive_link
Hello @theboydemola
The error logs are old (from a month ago) but I found a few similar errors which I believe are related to your issue, here is an example:
[21-Nov-2024 04:47:49 UTC] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/exhxcgyp/public_html/wp-includes/PHPMailer/PHPMailer.php:880 Stack trace: #0 /home/exhxcgyp/public_html/wp-includes/PHPMailer/PHPMailer.php(1968): PHPMailer\PHPMailer\PHPMailer->mailPassthru('gidadeyemitomiw...', 'Your Everything...', '<!DOCTYPE html>...', 'Date: Thu, 21 N...', NULL) #1 /home/exhxcgyp/public_html/wp-includes/PHPMailer/PHPMailer.php(1691): PHPMailer\PHPMailer\PHPMailer->mailSend('Date: Thu, 21 N...', '<!DOCTYPE html>...') #2 /home/exhxcgyp/public_html/wp-includes/PHPMailer/PHPMailer.php(1523): PHPMailer\PHPMailer\PHPMailer->postSend() #3 /home/exhxcgyp/public_html/wp-includes/pluggable.php(546): PHPMailer\PHPMailer\PHPMailer->send() #4 /home/exhxcgyp/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(741): wp_mail(Array, 'Your Everything...', '<!DOCTYPE html>...', Array, Array) #5 /home/exhxcgyp/public_html/wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php(702): WC_Email->send('gidadeyemitomiw...', 'Your Everything...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #6 /home/exhxcgyp/public_html/wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-customizer.php(1032): Kadence_Woomail_Preview::get_preview_email(true, 'gidadeyemitomiw...') #7 /home/exhxcgyp/public_html/wp-includes/class-wp-hook.php(324): Kadence_Woomail_Customizer->ajax_send_email('') #8 /home/exhxcgyp/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #9 /home/exhxcgyp/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/exhxcgyp/public_html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_kt_woom...')This error refers to the default PHP Mailer that most systems come preinstalled with, but it looks like your system does not have the default Mailer. The only way to fix this would be to install the PHP Mailer library, but this will require access at a server level, and you may need to contact your hosting provider for assistance. Depending on what type of operating system your server is running on, you will need to install it following those instructions.
Best Regards
AminAlright so i have added the smtp (i used WP Mail SMTP) and i set it up already and its working perfectly except when people subscribes to the news letter, it doesn’t deliver the confirmation mail, i have tried several methods but i get same results, it will just confirm they subscribed but won’t send it to their email
-
This reply was modified 1 year, 3 months ago by
theboydemola.
Hello @theboydemola
There are two possible issues that could cause this:
1. Your custom SMTP is not working as expected for example the credentials are incorrect, make sure you can use the test email in WP Mail SMPT under the tools menu
2. If the test email was delivered successfully you should check the form email notification settings and make sure it is set up correctlyIf everything is looking good and you still have issues, please share the form export using google drive so we can investigate further.
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-exportKind Regards
AminI have done all you said and its still the same, heres the link to the drive
https://drive.google.com/drive/folders/1l614A01uSOj3QhJauvgZ0Lf8oLTKOxko?usp=drive_link
Hi @theboydemola,
I hope you are doing well today!
Thanks for sharing the form export. I have checked it on my lab site and could not see any other email notification except admin email. If you want to send confirmation email to the subscribers, you need to add this to the Edit Form->Email Notifications section like this.
You can refer to our documentation for more details.
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#email-notifications-formsKind regards,
ZaferAlright thank you very much, i have done that and it works now
-
This reply was modified 1 year, 3 months ago by
The topic ‘An error occurred while processing the form. Please try again’ is closed to new replies.