Circular reference detected

Created on 5 July 2024, 6 months ago

Problem/Motivation

I have started getting the following error

Circular reference detected for service "domain.route_provider", path: "options_request_listener -> domain.route_provider -> cache_tags.invalidator -> config_ignore.event_subscriber -> config.storage.sync -> router -> router.no_access_checks"

when visiting a site after updating to 3.x, so config_ignore.event_subscriber looks to be the right place to break this loop.

Steps to reproduce

Unfortunately I do not have a reliable way to reproduce it. It happens after clearing caches, but not on all pages. However it did not happen before the update, and regularly happens after it.

Proposed resolution

Load the config.storage.sync service right before it is used, not when config_ignore.event_subscriber service object is created.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇨🇾Cyprus alex.bukach

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