Use the ModuleHandlerInterface instead of the ModuleHandle in EventCreationService

Created on 10 August 2023, over 1 year ago
Updated 1 December 2023, about 1 year ago

Problem/Motivation

After the update from 2.0.0-rc6 to 2.0.0-rc12, creating a new event triggered the following error:

TypeError: Drupal\recurring_events\EventCreationService::__construct(): Argument #7 ($module_handler) must be of type Drupal\Core\Extension\ModuleHandler, Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler given, called in /app/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\recurring_events\EventCreationService->__construct() (line 115 of /app/web/modules/contrib/recurring_events/src/EventCreationService.php)

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Recurring Events (Main module)

Created by

πŸ‡ΊπŸ‡ΈUnited States Jacqui.Tenderwolf

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

Comments & Activities

Production build 0.71.5 2024