Circular reference detected for service "theme_handler" on cache clear

Created on 19 February 2023, almost 2 years ago
Updated 16 June 2023, over 1 year ago

Problem/Motivation

I have a question about this bug in "High contrast" module we've been having about "Circular reference". Issue here https://www.drupal.org/project/high_contrast/issues/3338147 🐛 Circular reference detected for service "theme_handler", path: "twig -> twi g.loader.filesystem -> theme_handler -> config.factory -> high_contrast.ove rrider -> theme.manager -> theme.negotiator -> access_check.theme". Fixed . This is the error message:

Circular reference detected for service "theme_handler", path: "twig -> twi g.loader.filesystem -> theme_handler -> config.factory -> high_contrast.ove rrider -> theme.manager -> theme.negotiator -> access_check.theme".

All in all it seems we can't use theme.manager dependency injection when overriding configs from module (with the config.factory.override way in high_contrast.services.yml).

Do you know is this core issue or not?

Steps to reproduce

1. Install High Contrast beta 5 https://www.drupal.org/project/high_contrast/releases/8.x-1.0-beta5
2. Clear cache from UI. This will give the error.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

💬 Support request
Status

Closed: outdated

Version

9.5

Component
Theme 

Last updated 5 days ago

Created by

🇪🇪Estonia hkirsman

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

Comments & Activities

Production build 0.71.5 2024