After installing this module in Drupal 11, I encounter the following error when accessing its configuration form:

ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/web/modules/contrib/lazy/src/Form/LazyForm.php on line 66 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core/lib/Drupal/Core/Form/ConfigFormBase.php).

Issue fork lazy-3511152

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

vishal-ydv created an issue. See original summary.

vishal-ydv’s picture

StatusFileSize
new1.57 KB

Applying a patch to resolve the issue.

vishal-ydv’s picture

Assigned: vishal-ydv » Unassigned
Status: Active » Needs review

Added the changes in MR22.Please Review!

kostiantyn’s picture

Status: Needs review » Reviewed & tested by the community

tested, works as expected!

  • osman committed 18950c79 on 4.0.x
    fix: #3511152 ArgumentCountError: Too Few Arguments Passed to...
osman’s picture

Status: Reviewed & tested by the community » Fixed

Thanks @vishal-kumar-yadav & @kostiantyn for your contribution. The fix is now merged.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

sourav_paul’s picture

StatusFileSize
new479.78 KB

@osman, It would be helpful if you could publish a new release with this bug fix, as I'm still getting the issue on D11

SS:
Only local images are allowed.

Thanks.

ressa’s picture

I tried the module, but was surprised to get a fatal error ...