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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | trying-to-access-array-offset-on-value-of-type-null-3184287-2.patch | 689 bytes | abdhomsi |
Comments
Comment #2
abdhomsi commentedComment #3
mistrae commentedWorks great, thanks.
Comment #4
berdirNot sure if it is possible that some other http config other than the proxy could be set? Just appending ?? NULL should fix it too.
Comment #5
ayalon commentedThanks for the patch. I adapted it and commited it.
Comment #7
ayalon commentedComment #8
ayalon commented