Problem/Motivation

Argument error when trying to access IP Login settings admin form:
/admin/config/people/ip_login

ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /app/web/modules/contrib/ip_login/src/Form/IpLoginSettingsForm.php on line 42 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of /app/web/core/lib/Drupal/Core/Form/ConfigFormBase.php).

Steps to reproduce

Click on IP Login admin settings: /admin/config/people/ip_login

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork ip_login-3569518

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

juanp.rey.z created an issue. See original summary.

anurag_nagar made their first commit to this issue’s fork.

anurag_nagar’s picture

Status: Active » Needs review

Hi @juanp.rey.z , I have added a MR for argument error .

Thanks

shubh02’s picture

Status: Needs review » Reviewed & tested by the community

The issue associated with the above MR was verified and could not be reproduced at this time.

amateescu’s picture

Status: Reviewed & tested by the community » Postponed (maintainer needs more info)

I can't reproduce this error. \Drupal\ip_login\Form\IpLoginSettingsForm doesn't override the parent constructor, so it can't fail for missing arguments.