Fatal Error Caused by WP Mail SMTP
-
Hi,
After updating the plugin, the following error is received. Any idea what this might be caused by?When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.5
Current plugin: WP Mail SMTP (version 2.2.1)
PHP version 7.3.16Error Details
=============
An error of type E_ERROR was caused in line 79 of the file /home/sunpent/public_html/wp-content/plugins/wp-mail-smtp/src/Providers/MailerAbstract.php. Error message: Uncaught TypeError: Argument 1 passed to WPMailSMTP\Providers\MailerAbstract::__construct() must implement interface WPMailSMTP\MailCatcherInterface, instance of PHPMailer\PHPMailer\PHPMailer given, called in /home/sunpent/public_html/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php on line 190 and defined in /home/sunpent/public_html/wp-content/plugins/wp-mail-smtp/src/Providers/MailerAbstract.php:79
Stack trace:
#0 /home/sunpent/public_html/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php(190): WPMailSMTP\Providers\MailerAbstract->__construct(Object(PHPMailer\PHPMailer\PHPMailer))
#1 /home/sunpent/public_html/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php(146): WPMailSMTP\Providers\Loader->get_entity(‘smtp’, ‘Mailer’)
#2 /home/sunpent/public_html/wp-content/plugins/wpforms-lite/src/Admin/Pages/SMTP.php(451): WPMailSMTP\Providers\Loader->get_mailer(‘smtp’, Object(PHPMailer\PHPMailer\PHPMailer))
#3 /home/sunpent/public_html/wp-content/plugins/wpforms-lite/src/Admin/Pages/SMTP.php(476Thank you.
- The topic ‘Fatal Error Caused by WP Mail SMTP’ is closed to new replies.