Drupal 11 issue on config form, ArgumentCountError: Too few arguments to function

Created on 3 February 2025, 2 months ago

Problem/Motivation

Getting this error on Drupal 11 site.
ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/docroot/modules/contrib/default_content_deploy/src/Form/SettingsForm.php on line 38 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core/lib/Drupal/Core/Form/ConfigFormBase.php).

Steps to reproduce

Drupal 11 /admin/config/development/dcd page

Proposed resolution

Update SettingsForm __construct()

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine tolyan4ik Lviv

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

Comments & Activities

Production build 0.71.5 2024