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 4996

PHP Error when trying to send email

$
0
0

Replies: 2

Hi there,

We are experiencing this error:

NOTICE: PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Google_Client::setIncludeGrantedScopes() in /var/www/html/<my-site-here>/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php:88

We are using the last (2.1.1) version of your plugin.

I tried recreating the credentials on Google Developer Platform and set them up in the plugin settings, but the issue remains. The settings page shows this at the bottom (authorization)

Fatal error: Uncaught Error: Call to undefined method Google_Client::setIncludeGrantedScopes() in /var/www/html/<my-site-here>/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php:88 Stack trace: #0 /var/www/html/<my-site-here>/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(37): WPMailSMTP\Providers\Gmail\Auth->get_client() #1 /var/www/html/<my-site-here>/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Options.php(151): WPMailSMTP\Providers\Gmail\Auth->__construct() #2 /var/www/html/<my-site-here>/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Options.php(134): WPMailSMTP\Providers\Gmail\Options->display_auth_setting_action() #3 /var/www/html/<my-site-here>/wp-content/plugins/wp-mail-smtp/src/Admin/Pages/SettingsTab.php(288): WPMailSMTP\Providers\Gmail\Options->display_options() #4 /var/www/html/<my-site-here>/wp-content/plugins/wp-mail-smtp/src/Admin/Area.php(614): WPMailSMTP\Admin\Pages\SettingsTab->display() #5 /var/www/html/<my-site-here>/wp-content/plu in /var/www/html/<my-site-here>/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php on line 88


Viewing all articles
Browse latest Browse all 4996

Trending Articles



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