ModuleHandler error after upgrading Hook Event Dispatcher

Created on 20 July 2023, over 1 year ago

Problem/Motivation

After upgrading Hook Event Dispatcher module I get the following error:

TypeError: Drupal\\lazy\\Lazy::__construct(): Argument #5 ($module_handler) must be of type Drupal\\Core\\Extension\\ModuleHandler, Drupal\\hook_event_dispatcher\\HookEventDispatcherModuleHandler given, called in ... in Drupal\\lazy\\Lazy->__construct() (line 67...

Proposed resolution

Use the ModuleHandlerInterface instead of the ModuleHandler class.

🐛 Bug report
Status

Closed: duplicate

Version

3.11

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024