Created on 12 June 2023, about 1 year ago
Updated 1 August 2023, 11 months ago

Drupal version: 10.0.9
PHP version: 8.1.18

TypeError: Symfony\Component\HttpFoundation\RedirectResponse::__construct(): Argument #1 ($url) must be of type string, Drupal\Core\Url given, called in /web/modules/contrib/social_login/social_login.module on line 967 in Symfony\Component\HttpFoundation\RedirectResponse->__construct() (line 35 of /web/vendor/symfony/http-foundation/RedirectResponse.php).

🐛 Bug report
Status

Needs review

Version

3.2

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @intradavid
  • First commit to issue fork.
  • @sakthi_dev opened merge request.
  • Status changed to Needs review about 1 year ago
  • 🇮🇳India sakthi_dev

    Please review.

  • Patch working, but have another problame, after succes login:

    TypeError: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in /web/modules/contrib/social_login/src/Controller/SocialLoginController.php on line 146 in Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (line 89 of /web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php).

  • Same error after applying the change from the MR:

    TypeError: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in [...]/modules/contrib/social_login/social_login.module on line 401 in Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (line 89 of [...]/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php).

    Drupal 10.2.3
    PHP 8.2.18

    Selecting the Google login, I can enter my credentials in the popup, I am successfully redirected to the form to confirm my email address:

    You have successfully connected to Google
    Please complete the form to create your account. Once your account has been created, you can use Google to log in. 

    Then, clicking on "Create new account" throws the error.

Production build 0.69.0 2024