Fixed
Project:
Drupal core
Version:
11.4.x-dev
Component:
routing system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2026 at 13:50 UTC
Updated:
27 Jul 2026 at 18:46 UTC
Jump to comment: Most recent
Looks like some copy-paste issue in the BC layer: https://git.drupalcode.org/project/drupal/-/blob/11.4.x/core/lib/Drupal/...
This results in a fatal when a caller invokes the constructor without the new $fast_cache argument, e.g. a decorator service configured via Symfony autowiring, since $fast_cache has no type-hint and therefore cannot be autowired.
Main is not affected naturally.
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
Comment #3
berdirIt's not a copy paste mistake, it's the normal approach for inserted arguments, so if someone would have provided them before it would be the language manager. However, what it account for is that it has a default value and the arguments were already optional.
Comment #5
berdirThis doesn't need to go into main but we need a separate issue for that to remove the BC layer there.
Comment #6
s_leu commentedTested and works well.
Comment #10
longwaveDecided to keep this in main to keep things in sync and save someone possibly re-discovering it when they come to remove the deprecation later.
Committed and pushed 6c17be9d892 to main and 081865f9d44 to 11.x and 9cd9d24c28e to 11.4.x. Thanks!