Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 4997

wp mail not sending mail after changing php version

$
0
0

Replies: 0

After I change my php version from php 7.2 to php 7.3 I’m receiving the following error

PHP Fatal error: Uncaught TypeError: Argument 1 passed to WPMailSMTP\\Providers\\MailerAbstract::__construct() must implement interface WPMailSMTP\\MailCatcherInterface, instance of PHPMailer\\PHPMailer\\PHPMailer given, called in /var/www/etusker.com/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Mailer.php on line 49 and defined in /var/www/etusker.com/wp-content/plugins/wp-mail-smtp/src/Providers/MailerAbstract.php:104\nStack trace:\n#0 /var/www/etusker.com/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Mailer.php(49): WPMailSMTP\\Providers\\MailerAbstract->__construct(Object(PHPMailer\\PHPMailer\\PHPMailer))\n#1 /var/www/etusker.com/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php(200): WPMailSMTP\\Providers\\Gmail\\Mailer->__construct(Object(PHPMailer\\PHPMailer\\PHPMailer))\n#2 /var/www/etusker.com/wp-content/plugins/wp-mail-smtp/src/Providers/Loader.php(156): WPMailSMTP\\Providers\\Loader->get_entity('gmail', 'Mailer')\n#3 /var/www/etusker.com/wp-content/plugins/wp-mail-smtp/src/Admin/Review.php(106): WPMailSMTP\\Providers in /var/www/etusker.com/wp-content/plugins/wp-mail-smtp/src/Providers/MailerAbstract.php on line 104, referer: https://etusker.com/wp-admin/admin.php?page=wp-mail-smtp-tools&tab=test

WordPress version 6.0.1
Wp mail SMTP version 3.5.1

If I rollback the php version to 7.2 It start working again. So I think there is a conflict between the plugin and the php version. Please give me a solution to this.


Viewing all articles
Browse latest Browse all 4997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>