Problem/Motivation
ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/drupal/web/modules/contrib/mailjet_api/src/Form/MailjetApiAdminSettingsForm.php on line 39 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of /var/www/drupal/web/core/lib/Drupal/Core/Form/ConfigFormBase.php).
Steps to reproduce
- Install Drupal 11.2 fresh
- Install Mailjet API module
- Navigate to settings form (White screen, error produced)
Proposed resolution
- Update to include: TypedConfigManagerInterface
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | d11-config-form-3559442-3.patch | 1.64 KB | wjackson |
Issue fork mailjet_api-3559442
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 #3
wjackson commentedA pull request has been created to resolve, but here is a .patch for legacy users and accessibility.
Comment #4
wjackson commentedComment #6
flocondetoileThanks for your work. Committed.