Problem/Motivation

[error] TypeError: Drupal\Core\Extension\ModuleInstaller::__construct(): Argument #4 ($connection) must be of type Drupal\Core\Database\Connection, Drupal\Core\ProxyClass\Routing\RouteBuilder given, called in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 in Drupal\Core\Extension\ModuleInstaller->__construct() (line 92 of /var/www/html/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php) #0 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(261): Drupal\Core\Extension\ModuleInstaller->__construct('/var/www/html/w...', Object(Drupal\Core\Extension\ModuleHandler), Object(Drush\Drupal\DrupalKernel), Object(Drupal\Core\ProxyClass\Routing\RouteBuilder))

Steps to reproduce

Try to config import to enable a blacklisted module while the module is enabled.

Proposed resolution

Update the module_blacklist.module_installer service to be compatible with core's.

CommentFileSizeAuthor
#3 3554218-3.patch521 bytesmanuel garcia

Comments

manuel garcia created an issue. See original summary.

manuel garcia’s picture

Issue summary: View changes
manuel garcia’s picture

StatusFileSize
new521 bytes
manuel garcia’s picture

Status: Active » Needs review