"Circular reference detected" Exception when running drush in multisite

Created on 9 December 2020, over 3 years ago
Updated 23 October 2023, 8 months ago

Running drush status in a multisite environement throws:

:  
drush -v status
[info] hw_flags should have an extra.drush.services section in its composer.json. See http://docs.drush.org/en/10.x/commands/#specifying-the-services-file.
[info] icon_select should have an extra.drush.services section in its composer.json. See http://docs.drush.org/en/10.x/commands/#specifying-the-services-file.

In CheckCircularReferencesPass.php line 67:

  [Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException]
  Circular reference detected for service "config.storage.staging", path: "config.storage.staging -> config_filter.storage_factory -
  > config.storage.staging".


Exception trace:
  at /var/www/html/hessenweb/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php:67
Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass->checkOutEdges() at /var/www/html/hessenweb/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php:70
Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass->checkOutEdges() at /var/www/html/hessenweb/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php:70
Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass->checkOutEdges() at /var/www/html/hessenweb/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php:43
Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass->process() at /var/www/html/hessenweb/vendor/symfony/dependency-injection/Compiler/Compiler.php:140
Symfony\Component\DependencyInjection\Compiler\Compiler->compile() at /var/www/html/hessenweb/vendor/symfony/dependency-injection/ContainerBuilder.php:789
Symfony\Component\DependencyInjection\ContainerBuilder->compile() at /var/www/html/hessenweb/web/core/lib/Drupal/Core/DrupalKernel.php:1335
Drupal\Core\DrupalKernel->compileContainer() at /var/www/html/hessenweb/web/core/lib/Drupal/Core/DrupalKernel.php:916
Drupal\Core\DrupalKernel->initializeContainer() at /var/www/html/hessenweb/vendor/drush/drush/src/Drupal/DrupalKernelTrait.php:69
Drush\Drupal\DrupalKernel->initializeContainer() at /var/www/html/hessenweb/web/core/lib/Drupal/Core/DrupalKernel.php:477
Drupal\Core\DrupalKernel->boot() at /var/www/html/hessenweb/vendor/drush/drush/src/Boot/DrupalBoot8.php:240
Drush\Boot\DrupalBoot8->bootstrapDrupalFull() at /var/www/html/hessenweb/vendor/drush/drush/src/Boot/BootstrapManager.php:293
Drush\Boot\BootstrapManager->doBootstrap() at /var/www/html/hessenweb/vendor/drush/drush/src/Boot/BootstrapManager.php:493
Drush\Boot\BootstrapManager->bootstrapMax() at /var/www/html/hessenweb/vendor/drush/drush/src/Boot/BootstrapManager.php:427
Drush\Boot\BootstrapManager->bootstrapToPhaseIndex() at /var/www/html/hessenweb/vendor/drush/drush/src/Boot/BootstrapManager.php:396
Drush\Boot\BootstrapManager->bootstrapToPhase() at /var/www/html/hessenweb/vendor/drush/drush/src/Boot/BootstrapHook.php:28
Drush\Boot\BootstrapHook->initialize() at /var/www/html/hessenweb/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:34
Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->callInitializeHook() at /var/www/html/hessenweb/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:27
Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->initialize() at /var/www/html/hessenweb/vendor/consolidation/annotated-command/src/CommandProcessor.php:145
Consolidation\AnnotatedCommand\CommandProcessor->initializeHook() at /var/www/html/hessenweb/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:289
Consolidation\AnnotatedCommand\AnnotatedCommand->initialize() at /var/www/html/hessenweb/vendor/symfony/console/Command/Command.php:221
Symfony\Component\Console\Command\Command->run() at /var/www/html/hessenweb/vendor/symfony/console/Application.php:1005
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/hessenweb/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /var/www/html/hessenweb/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/www/html/hessenweb/vendor/drush/drush/src/Runtime/Runtime.php:118
Drush\Runtime\Runtime->doRun() at /var/www/html/hessenweb/vendor/drush/drush/src/Runtime/Runtime.php:49
Drush\Runtime\Runtime->run() at /var/www/html/hessenweb/vendor/drush/drush/drush.php:72
require() at /var/www/html/hessenweb/vendor/drush/drush/drush:4

core:status [--project PROJECT] [--format [FORMAT]] [--fields FIELDS] [--field FIELD] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--druplicon] [--notify] [--xh-link XH-LINK] [--] <command> [<filter>]


πŸ› Bug report
Status

Closed: works as designed

Version

2.2

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany macdev_drupal Wiesbaden

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.69.0 2024