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.

CommentFileSizeAuthor
entity log.PNG79.55 KBaman_lnwebworks

Issue fork entity_log-3523576

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

aman_lnwebworks created an issue. See original summary.

aman_lnwebworks’s picture

Assigned: aman_lnwebworks » Unassigned
Status: Active » Needs work

Hi

I have added MR!8 for the above issue.

Please review it once.

aman_lnwebworks’s picture

Status: Needs work » Needs review
jannakha’s picture

Status: Needs review » Reviewed & tested by the community

- installed module on D11.2
- config returns error
- applied patch from MR8
- config form works again!
thanks for fix and your contribution to open source!

maintainers, please push to release!