- š«š®Finland operinko
I'm seeing the same issue on 4.x branch, on a site running a multisite installation using Domain module.
ā php [2023-11-02T13:05:58.175283+02:00] php.ERROR: Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "domain.route_provider", path: "options_request_listener -> domain.route_provider -> cache_tags ā ā .invalidator -> fastly.cache_tags.invalidator -> fastly.api -> fastly.services.webhook -> router -> router.no_access_checks". in Drupal\Component\DependencyInjection\Container->get() (line 147 of /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Containe ā ā r.php). {"severity_level":3,"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException(code: 0): Circular reference detected for service \"domain.route_provider\", path: \"options_request_listener -> domain.route_provi ā ā der -> cache_tags.invalidator -> fastly.cache_tags.invalidator -> fastly.api -> fastly.services.webhook -> router -> router.no_access_checks\". at /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:147)"} {"referer":"","ip":"[ip_redacted]"," ā ā request_uri":"https://[domain_redacted]/","uid":0,"user":""} ā ā php NOTICE: PHP message: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: "Circular reference detected for service "domain.route_provider", path: "options_request_listener -> domain.route_provider -> cache_tags. ā ā invalidator -> fastly.cache_tags.invalidator -> fastly.api -> fastly.services.webhook -> router -> router.no_access_checks"." at /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php line 147
- Status changed to Needs work
almost 2 years ago 7:15am 3 November 2023 - šš·Croatia xSDx
@operinko
This looks like something possibly related to domain module instead of fastly module.
There were at least 2 issues on domain and domain site settings module reported for similar issues:
https://www.drupal.org/project/domain/issues/3005048 ā and https://www.drupal.org/project/domain_site_settings/issues/2930391 ā
Can you check those if it helps you out ? Tnx - Status changed to Postponed: needs info
over 1 year ago 10:24am 20 February 2024 - Status changed to Needs review
about 2 months ago 12:03pm 15 August 2025 - š©šŖGermany hchonov šŖšŗš©šŖš§š¬
I am getting a similar error during config import or when I try to uninstall a module with drush pmu, however the domain module is not in the trace here, but eca. So probably this is rather something actually within the fastly module. The proposed patch solves the problem for me.
In Container.php line 149: Circular reference detected for service "Drupal\Core\Logger\LoggerChannelFactoryInterface", path: "plugin.cache_clearer -> plugin.manager.block -> logger.channel.defa ult -> Drupal\Core\Logger\LoggerChannelFactoryInterface -> logger.filelog -> eca.service.token -> cache_tags.invalidator -> fastly.cache_tags.invalidator -> fastly.ap i -> logger.channel.fastly". Failed to log error: Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "Drupal\Core\Logger\LoggerChannelFactoryInterface", path: "purge.purgers -> purge.logger -> Drupal\Core\Logger\LoggerChannelFactoryInterface -> logger.filelog -> eca.service.token -> cache_tags.invalidator -> fastly.cache_tags.invalidator -> fastly.api -> logger.channel.fastly". in Drupal\Component\DependencyInjection\Container->get() (line 149 of /var/www/html/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php). #0 /var/www/html/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php(438): Drupal\Component\DependencyInjection\Container->get()