Replies: 0
I get the following message after having installed the WP mail SMTP plugin and trying to connect it with my Gmail account:
Fatal error: Uncaught TypeError: WPMailSMTP\Providers\MailerAbstract::__construct(): Argument #1 ($phpmailer) must be of type WPMailSMTP\MailCatcherInterface, PHPMailer\PHPMailer\PHPMailer given, called in /www/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Mailer.php on line 49 and defined in /www/wp-content/plugins/wp-mail-smtp/src/Providers/MailerAbstract.php:104 Stack trace: #0 /www/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Mailer.php(49): WPMailSMTP\Providers\MailerAbstract->__construct(Object(PHPMailer\PHPMailer\PHPMailer)) #1 /www/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php(200): WPMailSMTP\Providers\Gmail\Mailer->__construct(Object(PHPMailer\PHPMailer\PHPMailer)) #2 /www/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php(156): WPMailSMTP\Providers\Loader->get_entity('gmail', 'Mailer') #3 /www/wp-content/plugins/wp-mail-smtp/src/Admin/Review.php(106): WPMailSMTP\Providers\Loader->get_mailer('gmail', Object(PHPMailer\PHPMailer\PHPMailer)) #4 /www/wp-content/plugins/wp-mail-smtp/src/Admin/Review.php(78): WPMailSMTP\Admin\Review->review() #5 /www/wp-includes/class-wp-hook.php(303): WPMailSMTP\Admin\Review->review_request('') #6 /www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #7 /www/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #8 /www/wp-admin/admin-header.php(287): do_action('admin_notices') #9 /www/wp-admin/index.php(115): require_once('/www/wp-admin/a...') #10 {main} thrown in /www/wp-content/plugins/wp-mail-smtp/src/Providers/MailerAbstract.php on line 104
I don’t know what to do
– I can’t use the WP menu’s, for example to disable plugins
– I don’t know how to access the files
– I wouldn’t know what to do if I could access the files
– My website still seems to be working
Some tips or pointers would be very much appreciated