After adding $settings['http_client_config']['decode_content'] = 'gzip'; to settings.php every time I login I get a notice: Notice: Undefined index: proxy in Drupal\social_auth_google\Plugin\Network\GoogleAuth->initSdk() (line 128 of modules/contrib/social_auth_google/src/Plugin/Network/GoogleAuth.php). with version 8.x-2.0-beta4.

I don't have any proxy settings there like $settings['http_client_config']['proxy']['http'] = 'http://proxy_user:proxy_pass@example.com:8080';

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

olli created an issue. See original summary.

Thew’s picture

This line of code now produce an array null notice on php 7.4.

https://www.php.net/manual/en/migration74.incompatible.php#migration74.i...

$proxyUrl = $this->siteSettings->get('http_client_config')['proxy']['http'];

naveenvalecha’s picture

Status: Needs review » Reviewed & tested by the community

We're using this patch https://www.drupal.org/project/social_auth_google/issues/3154225#comment... on a client project and its working fine for us.
However, both of the patches are same, so marking this as RTBC too.

naveenvalecha’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
Related issues: +#3154225: Trying to access array offset on value of type null in GoogleAuth.php