Break node editing down

Created on 19 January 2024, 10 months ago
Updated 22 January 2024, 10 months ago

Problem/Motivation

When I try to edit a node I get this message:

The website encountered an unexpected error. Try again later.

TypeError: Drupal\book_link_weight\Form\BookLinkWeightForm::__construct(): Argument #1 ($book_manager) must be of type Drupal\book\BookManager, Drupal\book\ProxyClass\BookManager given, called in /var/www/comges/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\book_link_weight\Form\BookLinkWeightForm->__construct() (line 23 of modules/contrib/book_link_weight/src/Form/BookLinkWeightForm.php).

Drupal version: 10.2.2
PHP version: 8.2.7

I don't know where to find more info. Tell me if you need.

Steps to reproduce

Install module, try to edit a node.

Uninstalling the module solves the problem.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France nico.bertol

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

Comments & Activities

Production build 0.71.5 2024