• Resolved gabiudrescu

    (@gabiudrescu)


    I keep receiving the error below when trying to login with Google+ SSO:

    
    Notice: Array to string conversion in /var/www/blog_x/wp-content/plugins/miniorange-google-apps-login/handler/oauth/class-mo-oauth-process-oauth-response.php on line 259
    
    Notice: Undefined index: error_description in /var/www/blog_x/wp-content/plugins/miniorange-google-apps-login/handler/oauth/class-mo-oauth-process-oauth-response.php on line 259
    Error Array Error Description
    

    Wordpress Version: Version 4.9.6
    Google Apps Login (G Suite) Version 6.0.2

    any ideas on how should I solve this?

    • This topic was modified 5 years, 10 months ago by gabiudrescu.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author miniOrange

    (@cyberlord92)

    Hi @gabiudrescu,

    This seems to be the configuration issue. We have handled the Error description properly now. Please update to the latest version of Google Apps Login (G Suite) Version 6.0.3 to get the error description. If you still could not figure out the issue after updating to the latest version, please send an email at info@miniorange.com. We will reach out to you by email for further debugging.

    Thanks,

    Thread Starter gabiudrescu

    (@gabiudrescu)

    I have upgraded as instructed to the latest version and now I get the error below:

    Notice: Array to string conversion in /var/www/blog_x/wp-content/plugins/miniorange-google-apps-login/handler/oauth/class-mo-oauth-process-oauth-response.php on line 261
    Error Array

    after a refresh, I get the following message:

    Error invalid_grant Error Description Code was already redeemed.

    otherwise, still not working / not logged in.

    Thread Starter gabiudrescu

    (@gabiudrescu)

    I solved the problem by putting a print_r before the line 216 and reading the error from Google, that was mentioning something about Google+ API not being enabled for that specific account.

    all works now.

    maybe you shouldn’t treat that variable as a unidimensional array and use print_r instead of die(); or even better, an exception handler / logger.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin returning error for Google+ SSO’ is closed to new replies.