TypeError breaking all drush commands with drush 10

Created on 8 February 2021, almost 4 years ago
Updated 21 October 2023, about 1 year ago

Problem/Motivation

After upgrading a project to drush 8.x-10.3.1 from drush 8.x-9.7.2, all drush commands are failing with errors indicating that the config_ignore module is not compatible with it.

Steps to reproduce

Error after running drush status, or drush updb:

[error] TypeError: Argument 4 passed to Drush\Drupal\Commands\config\ConfigImportCommands::__construct() must implement interface Drupal\Core\Cache\CacheBackendInterface, instance of Drupal\Core\Extension\ModuleHandler given, called in /app/docroot/modules/contrib/config_ignore/config_ignore_drush/src/Commands/ConfigIgnoreImportCommands.php on line 38 in Drush\Drupal\Commands\config\ConfigImportCommands->__construct() line 200 of /app/vendor/drush/drush/src/Drupal/Commands/config/ConfigImportCommands.php

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ethomas08 SF Bay Area

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024