Error on configuration form

Created on 27 March 2025, 21 days ago

Problem/Motivation

When trying to access the module configuration for I got "The website encountered an unexpected error. Try again later."

Upon examining the logs I see this error:

TypeError: Drupal\auto_translation\Form\AutoTranslatorSettingsForm::__construct(): Argument #6 ($moduleHandler) must be of type Drupal\Core\Extension\ModuleHandler, Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler given, called in /var/www/html/web/modules/contrib/auto_translation/src/Form/AutoTranslatorSettingsForm.php on line 63 in Drupal\auto_translation\Form\AutoTranslatorSettingsForm->__construct() (line 51 of /var/www/html/web/modules/contrib/auto_translation/src/Form/AutoTranslatorSettingsForm.php).

I've tried 1.4.11, 1.4.10 and 1.4.9 releases and got the same result.

Drupal version on my site is: 10.4.5

Steps to reproduce

Install the module (tried both via drush and from the UI), go to configuration form (/admin/auto-translation)

🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇵🇱Poland patbsh

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

Comments & Activities

Production build 0.71.5 2024