Title: Fatal Error on WPForms &gt; SMTP
Last modified: September 7, 2020

---

# Fatal Error on WPForms > SMTP

 *  [Hannah](https://wordpress.org/support/users/hdev28272671/)
 * (@hdev28272671)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-on-wpforms-smtp/)
 * Query Monitor picked up a fatal error from the WordPress back-end by clicking
   on the WPForms > SMTP option. It occurs any time that I click the “SMTP” option
   under the activated WPForms plugin.
 * **Site details:**
    PHP: 7.3.20 WordPress: 5.5 WPForms Lite: 1.6.1 WP Mail SMTP:
   2.2.1 Astra theme: 2.5.3. and 2.5.4 (fatal error present with both versions)
 * **About the SMTP config:**
    – SMTP settings are declared in the `.env` file in
   the release root: WPMS_ON = true and WPMS_SMTP_PASS are set to the correct password.
   roots/wp-config sets up the wp-config settings during deployment. – The password
   is grayed-out and populated under the WP Mail SMTP plugin. – An SMTP email test
   works just fine.
 * A similar fatal error was reported by another user recently:
    [https://wordpress.org/support/topic/fatal-error-caused-by-wp-mail-smtp/](https://wordpress.org/support/topic/fatal-error-caused-by-wp-mail-smtp/)
 * Here’s the fatal error in full:
 *     ```
        Fatal error: Uncaught Error: Argument 1 passed to WPMailSMTP\Providers\MailerAbstract::__construct() must implement interface WPMailSMTP\MailCatcherInterface, instance of PHPMailer\PHPMailer\PHPMailer given, called in /home/username/domains/my-domain-name.com/deploy_folder/releases/20200907191152/web/app/plugins/wp-mail-smtp/src/Providers/Loader.php on line 190
       in /home/username/domains/my-domain-name.com/deploy_folder/releases/20200907191152/web/app/plugins/wp-mail-smtp/src/Providers/MailerAbstract.php on line 79
   
       Call stack:
   
           WPMailSMTP\P\MailerAbstract::__construct()
           app/plugins/wp-mail-smtp/src/Providers/Loader.php:190
           WPMailSMTP\P\Loader::get_entity()
           app/plugins/wp-mail-smtp/src/Providers/Loader.php:146
           WPMailSMTP\P\Loader::get_mailer()
           app/plugins/wpforms-lite/src/Admin/Pages/SMTP.php:451
           WPForms\A\P\SMTP::is_smtp_configured()
           app/plugins/wpforms-lite/src/Admin/Pages/SMTP.php:476
           WPForms\A\P\SMTP::redirect_to_smtp_settings()
           wp-includes/class-wp-hook.php:287
           WP_Hook::apply_filters()
           wp-includes/class-wp-hook.php:311
           WP_Hook::do_action()
           wp-includes/plugin.php:478
           do_action()
           wp-admin/admin.php:175
   
       Query Monitor
       ```
   

Viewing 1 replies (of 1 total)

 *  [Prashant Rai](https://wordpress.org/support/users/prashantrai/)
 * (@prashantrai)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-on-wpforms-smtp/#post-13384935)
 * Hello [@hdev28272671](https://wordpress.org/support/users/hdev28272671/),
 * Thanks for contacting us!
 * It appears that the issue may be revolving around WP Mail SMTP plugin. When you
   have sometime, can you please post the query and the issue you’re facing on the
   [WP Mail SMTP forum](https://wordpress.org/support/topic/wp-mail-smtp-support-policy-2/)?
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error on WPForms > SMTP’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

## Tags

 * [WordPress 5.5](https://wordpress.org/support/topic-tag/wordpress-5-5/)

 * 1 reply
 * 2 participants
 * Last reply from: [Prashant Rai](https://wordpress.org/support/users/prashantrai/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-on-wpforms-smtp/#post-13384935)
 * Status: not a support question