This error is thrown when running a pantheon lando recipe locally.

Undefined index: HTTP_X_PROTO in social login get_current_url()

Line 1268 of social_login.module file.

I suggest changing that the previous condition to:

if (isset($_SERVER['PANTHEON_ENVIRONMENT']) && !isset($_SERVER['LANDO_DOMAIN'])) {
    $redirect_to = $_SERVER['HTTP_X_PROTO'] . $_SERVER['HTTP_HOST'] . $request_uri;
  }

Comments

acb created an issue.