ArgumentCountError at admin/config/content/charts on D11

Created on 16 August 2024, 4 months ago

Problem/Motivation

ArgumentCountError: Too few arguments to function Drupal\\Core\\Form\\ConfigFormBase::__construct(), 1 passed in modules/contrib/charts/src/Form/ChartsConfigForm.php on line 66 and exactly 2 expected in Drupal\\Core\\Form\\ConfigFormBase->__construct() (line 43 of core/lib/Drupal/Core/Form/ConfigFormBase.php).

Steps to reproduce

Visit admin/config/content/charts on Drupal 11

Proposed resolution

Add $container->get('config.typed') to the create() method, __construct() method and parent::__construct() call.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

5.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

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