Circular reference detected for service "hook_event_dispatcher.module_handler"

Created on 15 November 2023, about 1 year ago
Updated 25 April 2024, 7 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

1.0

Component

Code

Created by

🇺🇸United States bob.hinrichs

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024