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

CommentFileSizeAuthor
#3 d11-config-form-3559442-3.patch1.64 KBwjackson
Command icon 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

wjackson created an issue. See original summary.

wjackson’s picture

Status: Active » Needs review
StatusFileSize
new1.64 KB

A pull request has been created to resolve, but here is a .patch for legacy users and accessibility.

wjackson’s picture

Assigned: wjackson » Unassigned

  • d11a3c14 committed on 8.x-1.x
    fix: #3559442 Drupal 11 issue on config form, ArgumentCountError: Too...
flocondetoile’s picture

Status: Needs review » Fixed

Thanks for your work. Committed.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.