Fatal error: Uncaught Error: Class 'PHPMailer\PHPMailer\SMTP' not found
in /sites/xxxxxxxxx.net/files/wp-includes/PHPMailer/PHPMailer.php on line 1818
Call stack:
PHPMailer\P\PHPMailer::getSMTPInstance()
wp-includes/PHPMailer/PHPMailer.php:1939
PHPMailer\P\PHPMailer::smtpConnect()
wp-includes/PHPMailer/PHPMailer.php:1855
PHPMailer\P\PHPMailer::smtpSend()
wp-includes/PHPMailer/PHPMailer.php:1598
PHPMailer\P\PHPMailer::postSend()
wp-content/plugins/wp-mail-smtp/src/MailCatcher.php:88
WPMailSMTP\MailCatcher::send()
wp-includes/pluggable.php:493
wp_mail()
wp-content/plugins/wp-mail-smtp/src/Admin/Pages/TestTab.php:172
WPMailSMTP\A\P\TestTab::process_post()
wp-content/plugins/wp-mail-smtp/src/Admin/Area.php:773
WPMailSMTP\A\Area::process_actions()
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:173
-
This reply was modified 5 years, 11 months ago by
Andy Fragen.
Hi Andy,
thank you very much for reporting this.
You are getting the fatal error when trying to send an Email Test?
We’ll make sure to test our plugin with the WP 5.5.0 beta version. This WP version is scheduled to come out in August 2020.
Thank you and take care!
I have created a shim plugin to fix these issues and now WP Mail SMTP works with WP 5.5-alpha+.
https://gist.github.com/afragen/c710026eaa1d1634b637dbf91c726c75
Hi Andy,
thank you for sharing this with others! 🙂
Take care!
@afragen – As Gregor mentioned, appreciate the shim. This is definitely on or radar!
You should fix this ASAP. Many of us developers are using nightly builds of WordPress (as I guess you should) and this makes the plugin unusable.
Hi everyone,
We just released an update (v2.2.1) which has the WP 5.5 compatibility.
Could you please try to updated and test it out? Thank you very much!
Have a nice day!
Thank you Marco for testing! 🙂
Have a nice day!
Solved the issues for me too. Good work!
Hi Andy,
thank you for confirming and providing a solution when the plugin was not compatible. We really appreciate it!
Have a nice day!