Argument #2 ($moduleHandler) must be of type Drupal\Core\Extension\ModuleHandler

Created on 25 February 2024, 4 months ago
Updated 27 March 2024, 3 months ago

Problem/Motivation

commerce_funds: ^2.1
Drupal 10.2

Issue url: admin/commerce/funds/configure/mails

Argument #2 ($moduleHandler) must be of type Drupal\Core\Extension\ModuleHandler

TypeError: Drupal\commerce_funds\Form\ConfigureMails::__construct(): Argument #2 ($module_handler) must be of type Drupal\Core\Extension\ModuleHandler, Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler given, called in /.../modules/contrib/commerce_funds/src/Form/ConfigureMails.php on line 54 in Drupal\commerce_funds\Form\ConfigureMails->__construct() (line 41 of modules/contrib/commerce_funds/src/Form/ConfigureMails.php).

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇮🇳India Manikandan Era

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

Comments & Activities

Production build 0.69.0 2024