Too few arguments to function ConfigFormBase::__construct()

Created on 18 September 2024, 2 months ago
Updated 20 September 2024, 2 months ago

Problem/Motivation

I guess it is Drupal 11 compatibility issue.

Get error when trying to open module admin form:

ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/manager-lk/web/modules/custom/simplify/src/Form/SimplifyAdminForm.php on line 32 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 43 of /var/www/manager-lk/web/core/lib/Drupal/Core/Form/ConfigFormBase.php).

Steps to reproduce

Install on Drupal 11
Go to /admin/config/user-interface/simplify

🐛 Bug report
Status

Needs review

Version

2.1

Component

Code

Created by

🇷🇺Russia 4everzip

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