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 5014

Authorization Error: json_decode

$
0
0

Replies: 0

Trying to the plugin to work with gmail. All is good up to the point of sending the test email. I get the following: (note replaced domain with …)

Warning: json_decode() expects parameter 1 to be string, array given in D:\home\…\wwwroot\wp\wp-content\plugins\google-calendar-events\vendor\google\apiclient\src\Google\Auth\OAuth2.php on line 184

Now I do not have any google-calendar-events plugin installed. It may have been in the past, no longer.

This is followed with the following fatal error:

Fatal error: Uncaught exception ‘Google_Auth_Exception’ with message ‘Could not json decode the token’ in D:\home\…\wwwroot\wp\wp-content\plugins\google-calendar-events\vendor\google\apiclient\src\Google\Auth\OAuth2.php:186 Stack trace: #0 D:\home\…\wwwroot\wp\wp-content\plugins\google-calendar-events\vendor\google\apiclient\src\Google\Client.php(218): Google_Auth_OAuth2->setAccessToken(Array) #1 D:\home\…\wwwroot\wp\wp-content\plugins\wp-mail-smtp\src\Providers\Gmail\Auth.php(121): Google_Client->setAccessToken(Array) #2 D:\home\…\wwwroot\wp\wp-content\plugins\wp-mail-smtp\src\Providers\Gmail\Auth.php(53): WPMailSMTP\Providers\Gmail\Auth->get_client() #3 D:\home\…\wwwroot\wp\wp-content\plugins\wp-mail-smtp\src\Providers\Gmail\Options.php(138): WPMailSMTP\Providers\Gmail\Auth->__construct() #4 D:\home\…\wwwroot\wp\wp-content\plugins\wp-mail-smtp\src\Providers\Gmail\Options.p in D:\home\…\wwwroot\wp\wp-content\plugins\google-calendar-events\vendor\google\apiclient\src\Google\Auth\OAuth2.php on line 186


Viewing all articles
Browse latest Browse all 5014

Trending Articles