Problem/Motivation

Notice: Trying to access array offset on value of type null in Drupal\social_auth_github\Plugin\Network\GitHubAuth->initSdk() (line 59 of /var/www/html/web/modules/contrib/social_auth_github/src/Plugin/Network/GitHubAuth.php)

Steps to reproduce

Go to the /user/login/github controller as anonymous user.

Proposed resolution

Use null coalescing operator to prevent the notice.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

voleger created an issue. See original summary.

voleger’s picture

Status: Needs work » Needs review

wells made their first commit to this issue’s fork.

  • wells committed 2b7a961 on 3.x authored by voleger
    Issue #3227974 by voleger: Notice: Trying to access array offset on...
wells’s picture

Status: Needs review » Fixed

Thanks, @voleger!

Status: Fixed » Closed (fixed)

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