Circular reference detected for service "domain.route_provider"

Created on 6 May 2025, about 1 month ago

Hi,

I run into this issue while setting up the language selection parameters

Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "domain.route_provider", path: "options_request_listener -> domain.route_provider -> cache_tags.invalidator -> plugin.manager.block -> logger.channel.default -> logger.factory -> logger.syslog -> router -> router.no_access_checks". in Drupal\Component\DependencyInjection\Container->get() (line 149 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters() (Line: 239)
Drupal\Component\DependencyInjection\Container->createService() (Line: 179)
Drupal\Component\DependencyInjection\Container->get() (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters() (Line: 239)
Drupal\Component\DependencyInjection\Container->createService() (Line: 179)
Drupal\Component\DependencyInjection\Container->get() (Line: 93)
Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUserAdmin::create() (Line: 21)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance() (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance() (Line: 221)
Drupal\language\LanguageNegotiator->getNegotiationMethodInstance() (Line: 197)
Drupal\language\LanguageNegotiator->negotiateLanguage() (Line: 137)
Drupal\language\LanguageNegotiator->initializeType() (Line: 218)
Drupal\language\ConfigurableLanguageManager->getCurrentLanguage() (Line: 239)
Drupal\domain_config\DomainConfigOverrider->initiateContext() (Line: 121)
Drupal\domain_config\DomainConfigOverrider->loadOverrides() (Line: 209)
Drupal\Core\Config\ConfigFactory->loadOverrides() (Line: 169)
Drupal\Core\Config\ConfigFactory->doLoadMultiple() (Line: 68)
Drupal\domain_config_ui\Config\ConfigFactory->doLoadMultiple() (Line: 104)
Drupal\Core\Config\ConfigFactory->doGet() (Line: 109)
Drupal\domain_config_ui\Config\ConfigFactory->doGet() (Line: 89)
Drupal\Core\Config\ConfigFactory->get() (Line: 48)
Drupal\syslog\Logger\SysLog->__construct() (Line: 261)
Drupal\Component\DependencyInjection\Container->createService() (Line: 179)
Drupal\Component\DependencyInjection\Container->get() (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters() (Line: 275)
Drupal\Component\DependencyInjection\Container->createService() (Line: 179)
Drupal\Component\DependencyInjection\Container->get() (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters() (Line: 251)
Drupal\Component\DependencyInjection\Container->createService() (Line: 179)
Drupal\Component\DependencyInjection\Container->get() (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters() (Line: 239)
Drupal\Component\DependencyInjection\Container->createService() (Line: 179)
Drupal\Component\DependencyInjection\Container->get() (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters() (Line: 239)
Drupal\Component\DependencyInjection\Container->createService() (Line: 453)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters() (Line: 275)
Drupal\Component\DependencyInjection\Container->createService() (Line: 179)
Drupal\Component\DependencyInjection\Container->get() (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters() (Line: 239)
Drupal\Component\DependencyInjection\Container->createService() (Line: 179)
Drupal\Component\DependencyInjection\Container->get() (Line: 438)
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters() (Line: 239)
Drupal\Component\DependencyInjection\Container->createService() (Line: 179)
Drupal\Component\DependencyInjection\Container->get() (Line: 105)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 157)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇲🇦Morocco lakhal

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

Comments & Activities

Production build 0.71.5 2024