Replace all instance of ModuleHandler with ModuleHandlerInterface to make it compatible with hook_event_dispatcher module

Created on 4 February 2023, almost 2 years ago
Updated 8 April 2023, over 1 year ago

Problem/Motivation

Error :

Message TypeError: Argument 7 passed to Drupal\recurring_events\EventCreationService::__construct() must be an instance of Drupal\Core\Extension\ModuleHandler, instance of Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler given, called in /app/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 262 in Drupal\recurring_events\EventCreationService->__construct() (line 115 of /app/web/modules/contrib/recurring_events/src/EventCreationService.php)

Steps to reproduce

Recurring_events : 2.0.0-rc7
Drupal version : 9.4.11

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Recurring Events (Main module)

Created by

🇮🇳India pmkanse

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

Comments & Activities

Production build 0.71.5 2024