ModuleHandler error after upgrading Hook Event Dispatcher

Created on 20 July 2023, 11 months 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.69.0 2024