Update to Drupal 10.3 results in error "Too few arguments to function Drupal\Core\EventSubscriber\RedirectResponseSubscriber::__construct()"

Created on 1 August 2024, 4 months ago

Problem/Motivation

When updating to Drupal 10.3, I get the following error:

ArgumentCountError: Too few arguments to function Drupal\Core\EventSubscriber\RedirectResponseSubscriber::__construct(), 2 passed in
/var/www/html/docroot/modules/contrib/consumer_base_url/src/EventSubscriber/ConsumerBaseUrlRedirectResponseSubscriber.php on line 60 and exactly 3 expected in
Drupal\Core\EventSubscriber\RedirectResponseSubscriber->__construct() (line 39 of /var/www/html/docroot/core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php)

Steps to reproduce

Try to enable the module on Drupal 10.3 and get the above error.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇩🇪Germany daniel.bosen

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

Merge Requests

Comments & Activities

  • Issue created by @daniel.bosen
  • Merge request !10Add missing argument → (Open) created by daniel.bosen
  • Status changed to Needs review 4 months ago
  • 🇩🇪Germany daniel.bosen

    I have added the missing argument to the contructor.

  • Pipeline finished with Success
    4 months ago
    Total: 341s
    #240690
  • Pipeline finished with Success
    4 months ago
    Total: 131s
    #240696
  • Pipeline finished with Success
    4 months ago
    Total: 139s
    #240714
  • Pipeline finished with Success
    4 months ago
    Total: 141s
    #240717
Production build 0.71.5 2024