The website encountered an unexpected error. Please try again later.
TypeError: Drupal\easy_breadcrumb\EasyBreadcrumbBuilder::__construct(): Argument #16 ($module_handler) must be of type Drupal\Core\Extension\ModuleHandler, Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler given, called in /core/lib/Drupal/Component/DependencyInjection/Container.php on line 262 in Drupal\easy_breadcrumb\EasyBreadcrumbBuilder->__construct() (line 204 of modules/contrib/easy_breadcrumb/src/EasyBreadcrumbBuilder.php).
On a D9.4.5 site in active development, with easy_breadcrumb 2.0.3 installed and a block configured on the public theme, upgrading drupal/entity from 1.3.0 to 1.4.0 via composer results in the above error message on nearly every router path, even in Claro administration theme with no easy breadcrumb blocks added. No idea what changed to break easy_breadcrumb, but I wanted to document this.
Manual uninstallation of easy_breadcrumb via editing DB was the only way to restore site functionality.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3307333-2.patch | 2.6 KB | randalv |
Issue fork easy_breadcrumb-3307333
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
randalv commentedI encountered this issue too.
Patch attached.
Comment #3
higherform commentedPatch #2 applied successfully to 2.0.3 release. The patch appears to fix the issue as far as I can tell.
Comment #4
renatog commentedComment #5
kvantstudio commentedPatch #2 applied successfully to me.
Comment #6
svendecabooterI encountered the same issue.
This got triggered by an update to the hook_event_dispatcher module, that uses a new decorated module handler.
See also https://www.drupal.org/project/hook_event_dispatcher/issues/3308506
Comment #7
dpiComment #8
dpiGrouping related issues together
Comment #9
ambient.impact#2 fixes it for me also.
Comment #10
greg boggslooks good. if someone posts this as a merge request, I'll merge it.
Comment #11
renatog commentedI've put some tags that probably will find someone to do this favour to us 😌
Comment #12
greg boggs++
Comment #14
dpiPer the testbot in #2, the patch doesnt apply on head. Only to 2.0.3.
Comment #15
dpiRebuilt and pushed as MR.
Comment #16
f0ns commentedI had the same issue, the patch as proposed in comment #2 fixed the issue.
Comment #18
greg boggsThanks folks.