Drupal 11.2 breaks Mercury Editor Node Form: Error: Class "Drupal\node\NodeForm" not found

Created on 23 June 2025, about 1 month ago

Problem/Motivation

Drupal 11.2 changed the namespace for node forms: [2391313]

Steps to reproduce

  1. Update Drupal to 11.2.
  2. Clear caches or load a node edit page.
Error: Class "Drupal\node\NodeForm" not found in include() (line 10 of /var/www/html/web/modules/contrib/mercury_editor/src/Entity/MercuryEditorNodeForm.php).

Proposed resolution

Change namespace on MercuryEditorNodeForm.

Remaining tasks

This is tricky. Mercury editor will have to update it's drupal core compatibility to require Drupal 11.2 and above.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Jon Pugh Newburgh, NY

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

Comments & Activities

Production build 0.71.5 2024