Replies: 0
After upgrading our site to WP 5.4 the other day, I attempted to update the wp-mail-smtp plugin from version 1.4.2 to the current 1.9.0, using the ‘automatic’ WordPress plugin upgrade process.
Wordpress told me it caught an error with the plugin, providing this information:
WordPress version 5.4
Current plugin: WP Mail SMTP (version 1.9.0)
PHP version 7.2.24-0ubuntu0.18.04.3
Error Details
=============
An error of type E_ERROR was caused in line 196 of the file /var/www/html/wp-content/plugins/wp-mail-smtp/src/Core.php. Error message: Uncaught Error: Class ‘WPMailSMTP\AM_Notification’ not found in /var/www/html/wp-content/plugins/wp-mail-smtp/src/Core.php:196
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(287): WPMailSMTP\Core->init_notifications(”)
#1 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(Object(WPMailSMTP\MailCatcher), Array)
#2 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /var/www/html/wp-settings.php(409): do_action(‘plugins_loaded’)
#4 /var/www/html/wp-config.php(99): require_once(‘/var/www/html/w…’)
#5 /var/www/html/wp-load.php(37): require_once(‘/var/www/html/w…’)
#6 /var/www/html/wp-admin/admin.php(34): require_once(‘/var/www/html/w…’)
#7 /var/www/html/wp-admin/update.php(14): require_once(‘/var/www/html/w…’)
#8 {main}
thrown
Just curious as to what may have caused this – I restored version 1.4.2, not knowing if the new version was actually going to work or not…