Title: Forminator registration form error
Last modified: May 28, 2023

---

# Forminator registration form error

 *  Resolved [opintosomemard](https://wordpress.org/support/users/opintosomemard/)
 * (@opintosomemard)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/)
 * Hi, I added Forminator free plugin on my website and created registration form.
   I got the error each time when submitting the registration form: “An error occurred
   while processing the form. Please try again.” But it should be “Account registration
   successful. Click here to login to your account.” Do you know what the problem
   is? How can I debug this? Thank you in advance. Best Regards, Mard Solomon
    -  This topic was modified 3 years, 1 month ago by [opintosomemard](https://wordpress.org/support/users/opintosomemard/).
    -  This topic was modified 3 years, 1 month ago by [opintosomemard](https://wordpress.org/support/users/opintosomemard/).

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * (@wpmudevsupport13)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/#post-16775623)
 * Hi [@opintosomemard](https://wordpress.org/support/users/opintosomemard/)
 * I hope you are doing well today.
 * Please export your form, upload it to google drive or dropbox and share a link
   in your next reply so we could review your fields and test that form on our side
   and see can we replicate same issue.
 * Kind Regards,
   Kris
 *  Thread Starter [opintosomemard](https://wordpress.org/support/users/opintosomemard/)
 * (@opintosomemard)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/#post-16775938)
 * Hi,
 * thank you for your response.
 * The link to the forminator-rekisterointi-form-export.txt on Google Drive [https://drive.google.com/file/d/1BhcFGqdVkFm9P8jvuAzFXsFBVIKiPPWt/view?usp=sharing](https://drive.google.com/file/d/1BhcFGqdVkFm9P8jvuAzFXsFBVIKiPPWt/view?usp=sharing).
 * Best Regards, Mard
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/#post-16776898)
 * Hi [@opintosomemard](https://wordpress.org/support/users/opintosomemard/)
 * Thank you for sharing the form.
 * I’ve imported it to my test site (basic install – only WordPress core, Forminator
   and Twenty Twenty-Three theme currently) and tested it.
 * Form worked fine for me and registration was successful – no errors whatsoever.
 * I also checked form configuration and it looks fine too.
 * This suggests that the issue is in some way related to the specific site the 
   form is on (there may be some conflict with other plugin or some specific aspect
   of the server configuration i interfering).
 * Have you already tried performing a conflict test on site? If not, it would be
   highly recommended (it’s a standard troubleshooting procedure and should help
   finding a conflict):
 * – temporarily disable all the plugins (except Forminator) adn switch to one of
   default themes (like e.g. Twenty Twenty-Three)
    – test registration – if it works,
   enable your original theme back and test again – if it stops working, theme is
   the cause of conflict – if it still works, start enabling plugins back one-by-
   one, after each one checking registration; at some point it would stop working
   again and the last enabled plugin would be the cause of the issue.
 * Knowing about what’s causing such conflict we could then look closer into it 
   to find solution.
 * Would you perform such test and let us know about results, please?
 * Best regards,
    Adam
 *  Thread Starter [opintosomemard](https://wordpress.org/support/users/opintosomemard/)
 * (@opintosomemard)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/#post-16787439)
 * Hi,
 * thank you for your advice.
   The issue was that I forgot to set up the confirmation
   email on Forminator and on WordPress. I use the WP SMTP plugin for WordPress 
   and Forminator Email Notification.
 * I need help to customize the wp welcome email that WordPress sends out to newly
   registered users but I want to disable it completely. The Forminator sending 
   out emails but the WP default welcome emails are still going out. This means 
   all users after signing up receive 2 welcome emails. How can be disabled the 
   default wp welcome email?
 * Thank you in advance.
   Best Regards,Mard
 *  Thread Starter [opintosomemard](https://wordpress.org/support/users/opintosomemard/)
 * (@opintosomemard)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/#post-16788451)
 * Hi, I think it would be nice to be able straight in Forminator disable the default
   WordPress welcome email that is sent to users after they sign up and contains
   information such as password and username. Would this be possible to implement?
   Thank you. BR, Mard
 *  Plugin Support [Dmytro – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport16/)
 * (@wpmudevsupport16)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/#post-16792668)
 * Hello [@opintosomemard](https://wordpress.org/support/users/opintosomemard/),
 * Thank you for the suggestion, I’m forwarding it to the plugin developers to consider
   adding an option to disable default emails.
 * Currently you can use a PHP snippet (must use plugin) to disable the welcome 
   emails:
 * – paste the following code in a text editor:
 *     ```
       <?php
   
       add_action( 'init', function() {
       	remove_action( 'register_new_user', 'wp_send_new_user_notifications' );
       	remove_action( 'edit_user_created_user', 'wp_send_new_user_notifications', 10, 2 );
           }
       );
       ```
   
 * – save it as a PHP file, for instance “_disable-welcome-emails.php_“;
 * – upload the saved PHP file to _/wp-content/mu-plugins/_ directory on the server,
   so that it runs as a [must use plugin](https://wordpress.org/support/article/must-use-plugins/).
 * I hope this helps. Let us know if you have any questions!
 * Best Regards,
    Dmytro
 *  Thread Starter [opintosomemard](https://wordpress.org/support/users/opintosomemard/)
 * (@opintosomemard)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/#post-16793635)
 * Hi,
 * Thank you for your advice.
 * I did all the steps according to the instructions, but the code did not work 
   for me. WP still sends the default WP welcome email to a newly registered user.
   This means all users after signing up still receive 2 welcome emails. I use the
   WPCode Lite plugin as a PHP snippet. What should I do?
 * Thank you in advance.
 * Best Regards,
   Mard
 *  Plugin Support [Dmytro – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport16/)
 * (@wpmudevsupport16)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/#post-16795393)
 * Hello Mard,
 * I hope you’re doing well today!
 * Thanks for letting us know. When testing it again on another site, I’ve noticed
   the same thing.
 * Could you please try adding the following snippet, instead of the previous one:
 *     ```
       <?php
   
       add_action(
       	'forminator_custom_form_mail_before_send_mail',
       	function(){
       		add_filter( 'wp_mail', function( $email_data ){
       			$backtrace_functions = array_column( debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS ), 'function' );
       			if ( in_array( 'forminator_new_user_notification', $backtrace_functions ) ) {
       				$email_data['to'] = array( '' );
       			}
       		 	return $email_data;
       		} );
       	}
       );
       ```
   
 * Let us know if there’s still any issue.
 * Best Regards,
    Dmytro
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/#post-16809084)
 * Hello [@opintosomemard](https://wordpress.org/support/users/opintosomemard/) ,
 * We haven’t heard from you for 4 days now, so it looks like there are no more 
   questions for us.
    ﻿ Feel free to re-open this ticket if needed.
 * Kind regards
    Kasia

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Forminator registration form error’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)

 * 9 replies
 * 5 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/forminator-registration-form-error-2/#post-16809084)
 * Status: resolved