- Issue created by @bob.hinrichs
- 🇪🇪Estonia mikkmiggur
We got the same issue from today.
Getting it after drush cr command.
If I do drush cim then 1 time it's clean and I can run any command.
After that, I'm getting again this error.The only solution at the moment is to uninstall webprofiler and tracer.
- 🇮🇹Italy lussoluca Italy
mikkmiggur are you using the hook_event_dispacther module as bob.hinrichs ?
- 🇳🇱Netherlands cleverhoods
There's a hotfix patch that would circumvent the error: https://www.drupal.org/project/hook_event_dispatcher/issues/3385203#comm... 🐛 Circular reference detected for service "hook_event_dispatcher.module_handler" Active
- 🇧🇪Belgium Robin.Houtevelts
After applying the patch above I was still seeing this error.
In my case I was using drupal/office_hours → which seems to call the ModuleHandler very very early in their .module file.I fixed it by replacing those two lines with:
require_once __DIR__ . '/office_hours.theme.inc'; require_once __DIR__ . '/office_hours.theme.exceptions.inc';
Leaving it here in case it might help someone else.
- Merge request !5Issue #3401896 by lussoluca: Circular reference detected for service... → (Merged) created by lussoluca
-
lussoluca →
committed 5665305a on 1.0.x
Issue #3401896 by lussoluca: Circular reference detected for service "...
-
lussoluca →
committed 5665305a on 1.0.x
- Status changed to Fixed
9 months ago 7:55am 11 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.