Circular reference detected for service

Created on 30 November 2017, almost 8 years ago
Updated 17 March 2018, over 7 years ago

Hello,

Not sure this is the right place for this, but I'm getting the following error when running `drush updb`…

[Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException]                                                                                                                        
Circular reference detected for service "logger.factory", path: "logger.factory -> logger.syslog -> workspace.entity_type_info -> multiversion.manager -> workspace.manager -> logger.channel.workspace".  

Thanks,

β€’β€’ matt

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mattlt Freeport, MN

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.

  • πŸ‡§πŸ‡ͺBelgium shaesen Mechelen

    I have the same issue after updating from Drupal 11.2.0 to 11.2.1

    [Thu Jun 26 17:45:46.490187 2025] [error] [pid 53571] mod_proxy_fcgi.c(902): [client 2a02:1810:1d0f:5d00:110a:153a:578c:ec53:0] AH01071: Got error 'PHP message: Uncaught PHP Exception Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException: "Circular reference detected for service "logger.channel.workspaces", path: "options_request_listener -> router.route_provider -> path_processor_manager -> path_alias.path_processor -> Drupal\\path_alias\\AliasManagerInterface -> path_alias.repository -> workspaces.manager -> logger.channel.workspaces -> Drupal\\Core\\Logger\\LoggerChannelFactoryInterface -> logger.syslog -> Drupal\\workspaces\\Hook\\EntityTypeInfo -> workspaces.information -> workspaces.association"." at /data/sites/web/haeseninfo/cms-install/4294-www-haesen-info/production/web/core/lib/Drupal/Component/DependencyInjection/Container.php line 147'

  • πŸ‡¬πŸ‡§United Kingdom farse

    update I get the same in Drupal 11.2.3.

    The problem occurred after I enabled the raven module.

    "Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "workspaces.manager", path: "options_request_listener -> router.route_provider -> path_processor_manager -> path_alias.path_processor -> Drupal\path_alias\AliasManagerInterface -> path_alias.repository -> workspaces.manager -> logger.channel.workspaces -> logger.factory -> logger.raven -> symfony_mailer.override_manager -> config.manager -> Drupal\Core\Entity\EntityRepositoryInterface". in Drupal\Component\DependencyInjection\Container->get() (line 147 of core/lib/Drupal/Component/DependencyInjection/Container.php)."

  • πŸ‡¬πŸ‡§United Kingdom farse

    the issue for my was with symfony mailer. and raven I couldn't install the latest version so I opted to use symfony lite instead and that solved the problem.

Production build 0.71.5 2024