After login with Auth Google, I get the notice: `Trying to access array offset on value of type null in Drupal\social_auth_google\Plugin\Network\GoogleAuth->initSdk() (line 62 of modules/contrib/social_auth_google/src/Plugin/Network/GoogleAuth.php)`

Comments

Skymen created an issue. See original summary.

skymen’s picture

StatusFileSize
new677 bytes

There is a patch.

skymen’s picture

Status: Active » Needs review
skymen’s picture

grasmash’s picture

StatusFileSize
new1.03 KB

For some reason that patch wouldn't apply, trying a re-roll.

daniel kulbe’s picture

StatusFileSize
new733 bytes

That did not look right.

daniel kulbe’s picture

By the way ... duplicate of #3085147.

naveenvalecha’s picture

Version: 8.x-2.1 » 8.x-2.x-dev
Status: Needs review » Reviewed & tested by the community

We're using #6 on a client project and its working fine.
#7,
I have closed #3085147: Notice: Undefined index: proxy in Drupal\social_auth_google\Plugin\Network\GoogleAuth->initSdk() as duplicate of this issue.

wells’s picture

Version: 8.x-2.x-dev » 3.x-dev

  • wells committed b8c7c39 on 3.x authored by Daniel Kulbe
    Issue #3154225 by Skymen, Daniel Kulbe, grasmash: Trying to access array...
wells’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: -notice, -error

Applied to 3.x dev. Thanks, all!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.