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)
Comments
Comment #2
bigbabertComment #5
bigbabertComment #6
bigbabertHi @patbsh,
thanks for the feedback, fixed in 1.4.12, please have a test and move the status if ok,
Best regards
Comment #7
patbsh commentedWorks perfect, it was also probably due to unrun hook on my end and a build would've fixed it. Thank you for a very prompt response.
Comment #8
patbsh commented