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

Created on 9 May 2025, 11 days ago

Problem/Motivation

When I try to configuration this module, it throws an error.

Steps to reproduce

1: Install the "Entity log" using the following command:
composer require 'drupal/entity_log:^1.5'

2: Navigate to /admin/config/entity-log

3: The following error appears:
ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in D:\laragon\www\24april\web\modules\contrib\entity_log\src\Form\EntityLogConfigForm.php on line 57 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core\lib\Drupal\Core\Form\ConfigFormBase.php).

Note: I am using Drupal 10 with PHP 8.3.13 version.

🐛 Bug report
Status

Active

Version

1.5

Component

Code

Created by

🇮🇳India aman_lnwebworks

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