ArgumentCountError when visiting Ignored Forms module

Created on 7 October 2024, about 2 months ago

Problem/Motivation

On Drupal 11, visiting the "Ignored Modules" form results in a WSOD. The error is:

```
ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /mysite/web/modules/contrib/nagios/src/Form/IgnoredModulesForm.php on line 32 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 43 of /mysite/web/core/lib/Drupal/Core/Form/ConfigFormBase.php).
```

Steps to reproduce

As above.

Proposed resolution

I have an MR, which I'll submit once I learn the latest process for doing so for Drupal projects.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States MegaphoneJon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024