Circular reference detected for service "hook_event_dispatcher.module_handler"

Created on 4 September 2023, 10 months ago
Updated 24 February 2024, 4 months ago

Problem/Motivation

I see the error while running any Drush command:

Circular reference detected for service "hook_event_dispatcher.module_handler", path: "hook_event_dispatcher.module_handler -> hook_event_dispatcher.manager -> event_dispatcher -> tracer.tracer -> tracer.tracer_
factory -> plugin.manager.tracer".

Drupal 10.1.2

I can't run any Drush command anymore

Steps to reproduce

In my I enabled hook_event_dispacther, core_event_dispatcher. Created custom EventSubscriber with using EntityHookEvents::ENTITY_VIEW => 'entityViewCallback' in getSubscribedEvents() function

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇺🇦Ukraine Luckie Joe

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024