Circular reference detected for service "language_manager", path: "language_request_subscriber -> language_manager -> config.factory -> set_front_page.overrider -> set_front_page.manager -> entity_t ype.manager -> string_translation -> string_translat

Created on 4 April 2022, over 2 years ago
Updated 6 June 2023, over 1 year ago

Problem/Motivation

In Container.php line 146:
                                                                                                                                                                                                          
  Circular reference detected for service "language_manager", path: "language_request_subscriber -> language_manager -> config.factory -> set_front_page.overrider -> set_front_page.manager -> entity_t  
  ype.manager -> string_translation -> string_translator.locale.lookup".                                                                                                                                  
                                                                                                                                                                                                          

PHP Fatal error:  Uncaught Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "entity_type.manager", path: "user_last_access_subscriber -> entity_type.manager -> string_translation -> string_translator.locale.lookup -> config.factory -> set_front_page.overrider -> set_front_page.manager". in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:146
Stack trace:
#0 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(437): Drupal\Component\DependencyInjection\Container->get('entity_type.man...', 1)
#1 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(240): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array)
#2 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(176): Drupal\Component\DependencyInjection\Container->createService(Array, 'set_front_page....')
#3 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Co in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 146

Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "entity_type.manager", path: "user_last_access_subscriber -> entity_type.manager -> string_translation -> string_translator.locale.lookup -> config.factory -> set_front_page.overrider -> set_front_page.manager". in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php:146
Stack trace:
#0 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(437): Drupal\Component\DependencyInjection\Container->get('entity_type.man...', 1)
#1 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(240): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array)
#2 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php(176): Drupal\Component\DependencyInjection\Container->createService(Array, 'set_front_page....')
#3 /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Co in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 146

Steps to reproduce

  • run composer require 'drupal/set_front_page:1.x-dev@dev'
  • run drush en set_front_page -y

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024