Circular reference detected for service "entity_type.manager"

Created on 14 May 2024, 7 months ago
Updated 26 August 2024, 4 months ago

Problem/Motivation

The following error appears when a certain combination of modules is installed:

Circular reference detected for service "entity_type.manager", path: "scheduler.manager -> date.formatter -> entity_type.manager -> string_translation -> string_translator.locale.lookup -> symfony_translation.storage -> symfony_translation.translator -> symfony_translation.symfony_translator_factory -> file_system -> logger.channel.file -> Drupal\Core\Logger\LoggerChannelFactoryInterface -> logger.raven -> domain.negotiator".

Proposed resolution

Lazy load the translator: only instantiate it once a string is being translated.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024