error after upgrade to 2.0.1

Created on 8 March 2023, almost 2 years ago

Error after upgrade to 2.1.0,

selecting "manage form display" on a node/content type. max lengths no longer working.

The website encountered an unexpected error. Please try again later.
ArgumentCountError: Too few arguments to function Drupal\maxlength\WidgetSettings::__construct(), 0 passed in /mnt/www/html/acquiaservername/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 and exactly 1 expected in Drupal\maxlength\WidgetSettings->__construct() (line 27 of modules/contrib/maxlength/src/WidgetSettings.php).

Steps to reproduce: Drupal version 9.5.2 PHP version 8.1

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

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024