throws error when using domain module

Created on 30 April 2025, 2 months ago

This module doesn't work with domain module.

After enabling "extended logger" module, site goes down with an error.

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 -> extended_logger.logger -> router -> router.no_access_checks". in Drupal\Component\DependencyInjection\Container->get() (line 149 of core/lib/Drupal/Component/DependencyInjection/Container.php).

🐛 Bug report
Status

Active

Version

1.3

Component

Code

Created by

🇮🇳India dvmanjunath

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

Comments & Activities

  • Issue created by @dvmanjunath
  • 🇦🇲Armenia murz Yerevan, Armenia

    I installed the Domain module and the Extended Logger, but still can't reproduce this issue.

    Maybe I need to set up some specific settings to get this error? Could you please share reproduction steps starting with bare Drupal? Thanks!

  • 🇦🇲Armenia murz Yerevan, Armenia

    Also, try a fix from the issue 📌 Minimize service dependencies to optimize performance Active - maybe the request_stack dependency causes this error, and reworking it to lazy load could help resolve the circular reference issue.

    If not, to fix this issue I need clear steps to reproduce the issue on my side.

Production build 0.71.5 2024