TypeError: Argument 8 passed

Created on 11 February 2023, over 1 year ago
Updated 22 February 2024, 4 months ago

Problem/Motivation

I'm wanting to move from Drupal 8.9.20 to 9 and then 10.

When I click the link to Upgrade Status it gives me this error.

TypeError: Argument 8 passed to Drupal\upgrade_status\DeprecationAnalyzer::__construct() must be an instance of Drupal\upgrade_status\RouteDeprecationAnalyzer, instance of Drupal\Component\Datetime\Time given, called in /home/nvcc/domains/worldwide.nevadacc.org/public_html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\upgrade_status\DeprecationAnalyzer->__construct() (line 169 of /home/nvcc/domains/worldwide.nevadacc.org/public_html/web/modules/contrib/upgrade_status/src/DeprecationAnalyzer.php)

Any help would be greatly appreciated.

Steps to reproduce

Visit the page /admin/reports/upgrade-status

๐Ÿ’ฌ Support request
Status

Closed: works as designed

Version

3.18

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States lvthunder

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

Comments & Activities

  • Issue created by @lvthunder
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States dan612 Portland, Maine

    I ran into this issue as well. Looking over the code in various places (DeprecationAnalyzer::__construct() method, the services yaml file...etc) all the dependency injection references seemed fine. I simply disabled the module, cleared cache, then tried enabling it again and this seemed to resolve it.

  • Status changed to Closed: works as designed 4 months ago
  • ๐Ÿ‡ญ๐Ÿ‡บHungary Gรกbor Hojtsy Hungary
Production build 0.69.0 2024