ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct()

Created on 24 January 2025, 2 months ago

Problem/Motivation

Getting the following error when using Postmark on a Drupal 11 site.

ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/web/modules/contrib/postmark/src/Form/PostmarkSettingsForm.php on line 32 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of /var/www/html/web/core/lib/Drupal/Core/Form/ConfigFormBase.php).

Steps to reproduce

Clean install Postmark on Drupal 11, enable it and go to the settings form

Proposed resolution

Fix the dependency injection

🐛 Bug report
Status

Active

Version

1.3

Component

Code

Created by

🇧🇪Belgium matdemeue

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024