• If a not already registered user try to register with Super Social Login -> Google Auth, and the WP MAIL SMTP plugin is activated, I get the following error:

    Warning: json_decode() expects parameter 1 to be string, array given in /home/daterate/public_html/dev.digitalnomadhungary.com/wp-content/plugins/super-socializer/library/Google/Auth/OAuth2.php on line 178
    
    Fatal error: Uncaught Google_Auth_Exception: Could not json decode the token in /home/daterate/public_html/dev.digitalnomadhungary.com/wp-content/plugins/super-socializer/library/Google/Auth/OAuth2.php:180 Stack trace: #0 /home/daterate/public_html/dev.digitalnomadhungary.com/wp-content/plugins/super-socializer/library/Google/Client.php(189): Google_Auth_OAuth2->setAccessToken(NULL) #1 /home/daterate/public_html/dev.digitalnomadhungary.com/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(120): Google_Client->setAccessToken(Array) #2 /home/daterate/public_html/dev.digitalnomadhungary.com/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(37): WPMailSMTP\Providers\Gmail\Auth->get_client() #3 /home/daterate/public_html/dev.digitalnomadhungary.com/wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Mailer.php(79): WPMailSMTP\Providers\Gmail\Auth->__construct() #4 /home/daterate/public_html/dev.digitalnomadhungary.com/wp-content/plugins/wp-mail-smtp/src/MailCatcher.php(122): WPMailSMTP\Providers\Gmail\Mai in /home/daterate/public_html/dev.digitalnomadhungary.com/wp-content/plugins/super-socializer/library/Google/Auth/OAuth2.php on line 180
    
    There has been a critical error on your website.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Heateor Support

    (@heateor)

    We are looking into it and will get back to you.

    Thread Starter Koli14

    (@koli14)

    I still have the issue. Any progress?

    Plugin Author Heateor Support

    (@heateor)

    No, we haven’t looked into it yet.

    Thread Starter Koli14

    (@koli14)

    Hi there!
    I still get the same error if a not already registered user try to register with Super Social Login -> Google Auth, and the WP MAIL SMTP plugin is activated… ??

    
    [07-Jul-2020 09:18:10 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, array given in /wp-content/plugins/super-socializer/library/Google/Auth/OAuth2.php on line 178
    [07-Jul-2020 09:18:10 UTC] PHP Fatal error:  Uncaught Google_Auth_Exception: Could not json decode the token in /wp-content/plugins/super-socializer/library/Google/Auth/OAuth2.php:180
    Stack trace:
    #0 /wp-content/plugins/super-socializer/library/Google/Client.php(189): Google_Auth_OAuth2->setAccessToken(NULL)
    #1 /wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(120): Google_Client->setAccessToken(Array)
    #2 /wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Auth.php(37): WPMailSMTP\Providers\Gmail\Auth->get_client()
    #3 /wp-content/plugins/wp-mail-smtp/src/Providers/Gmail/Mailer.php(79): WPMailSMTP\Providers\Gmail\Auth->__construct()
    #4 /wp-content/plugins/wp-mail-smtp/src/MailCatcher.php(131): WPMailSMTP\Providers\Gmail\Mailer->send()
    #5 in /wp-content/plugins/super-socializer/library/Google/Auth/OAuth2.php on line 180
    
    Thread Starter Koli14

    (@koli14)

    One more info: It errors only if Google is set in WP MAIL SMTP plugin as provider.

    Plugin Author Heateor Support

    (@heateor)

    The error is occurring because the code of SMTP plugin is triggering the code of Google Auth library being used by this plugin. Did you contact them regarding this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not working with WP Mail SMTP’ is closed to new replies.