ArgumentCountError on manage form display

Created on 26 March 2023, over 1 year ago
Updated 18 April 2023, over 1 year ago

Problem/Motivation

White screen error on manage form display.

ArgumentCountError: Too few arguments to function Drupal\maxlength\WidgetSettings::__construct(), 0 passed in httpdocs/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 and exactly 1 expected in Drupal\maxlength\WidgetSettings->__construct() (line 27 of httpdocs/web/modules/contrib/maxlength/src/WidgetSettings.php)

Steps to reproduce

1. Add text field
2. Go to manage form display

Proposed resolution

Remaining tasks

  • ❌Get maintainer approval for the proposed resolution
  • ❌Implement resolution
  • ❌Write test coverage (contact a maintainer if you need help)
  • ❌Maintainer review via the UI
  • ❌Maintainer Code Review #1
  • ❌Maintainer code review #2
  • ❌Merge into dev branch, with credit to author and participants

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: outdated

Version

2.1

Component

User interface

Created by

🇺🇸United States dragonfire353

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @dragonfire353
  • 🇦🇺Australia dpi Perth, Australia

    This has already been resolved, as of 8f09eb08 from last year. And a release has since been created. Please update to 2.1.0

  • Status changed to Closed: outdated over 1 year ago
  • 🇮🇳India divyansh

    After upgrading to 2.1.0, I have faced the similar issue, it got resolved by clearing cache. I hope that might be helpful to you

Production build 0.71.5 2024