Problem/Motivation

The config form gives the following error since Drupal 11.2.x:
ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in .../web/modules/contrib/oidc_mcpf/src/Form/SettingsForm.php on line 51 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core/lib/Drupal/Core/Form/ConfigFormBase.php).

Steps to reproduce

Navigate to /admin/config/people/oidc/mcpf and behold the error.

Proposed resolution

Add the missing parameter TypedConfigManager to the parent constructor call.

Comments

fernly created an issue. See original summary.

fernly’s picture

Status: Active » Needs review
StatusFileSize
new1.96 KB

See patch for fix.

  • matthijs committed 86568982 on 2.x
    Issue #3560503 by fernly: Fix  settings form for D11
    
matthijs’s picture

Version: 2.0.0 » 2.x-dev
Status: Needs review » Fixed

Patch committed, thanks.

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.