Here is the error:
ArgumentCountError: Too few arguments to function Drupal\add_translation\AddTranslation::__construct(), 3 passed in /opt/drupal/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 and exactly 4 expected in Drupal\add_translation\AddTranslation->__construct() (line 58 of modules/contrib/add_translation/src/AddTranslation.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | issues-3399078-Clicking-bulk-translation-tab-produces-an-error-fixes.patch | 456 bytes | viren18febs |
Issue fork add_translation-3399078
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
bisonbleu commentedThis using the latest version in Drupal 9.5.11
Comment #3
viren18febs commentedComment #4
viren18febs commentedHI @bisonbleu
i have fixed the issues and added a patch for this, please review.
Thanks
Comment #5
thulenb commentedI have the same issue.
The provided patch does not fix this. Getting this error now:
TypeError: Drupal\add_translation\AddTranslation::__construct(): Argument #4 ($loggerFactory) must be of type Drupal\Core\Logger\LoggerChannelFactory, Drupal\redirect_404\Render\Redirect404LogSuppressor given, called in /web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\add_translation\AddTranslation->__construct() (Zeile 58 in web/modules/contrib/add_translation/src/AddTranslation.php)
Comment #6
thulenb commentedDoes somebody know how the get this module running? The mentioned error above prevents me from creating node translations.
Comment #8
jayprakash01 commentedFixed the issue @ThuleNB. Please check now.