Call to Undefined Method

Created on 1 March 2025, about 1 month ago

Problem/Motivation

When attempting to access a preview during page editing, I encounter the following error message: "The website encountered an unexpected error. Try again later.". The watchdog error log indicates the following error:

Error: Call to undefined method Drupal\node\Form\NodePreviewForm::getEntity() in wsdata_field_form_alter() (line 127 of /.../.../.../.../web/modules/contrib/wsdata/modules/wsdata_field/wsdata_field.module).

Steps to reproduce

1. Attempt to access a preview within a page edit mode.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States robertmartin1961

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