If there is no configuration array for "http_client_config", you will get the following PHP notice:
Notice: Trying to access array offset on value of type null in Drupal\social_auth_apple\Plugin\Network\AppleAuth->initSdk()

We need to check if the "http_client_config" key exists in the siteSettings.

Comments

abdhomsi created an issue. See original summary.

abdhomsi’s picture

mistrae’s picture

Status: Needs review » Reviewed & tested by the community

Works great, thanks.

berdir’s picture

Not sure if it is possible that some other http config other than the proxy could be set? Just appending ?? NULL should fix it too.

ayalon’s picture

Thanks for the patch. I adapted it and commited it.

  • ayalon committed 93d8ae6 on 1.x
    Issue #3184287 by abdhomsi, Berdir, ayalon: Trying to access array...
ayalon’s picture

Status: Reviewed & tested by the community » Fixed
ayalon’s picture

Status: Fixed » Closed (fixed)