Exception on Entity Preview

Created on 26 May 2025, 9 days ago

Problem/Motivation

I have a node type with field_banner that references the iu_banner paragraph type.

When I add a banner to a node and click "Preview" before "Save", I see the following error message:

The website encountered an unexpected error. Try again later.

Error: Call to a member function hasField() on null in iu_paragraphs_preprocess_paragraph__iu_banner() (line 273 of modules/contrib/iu_paragraphs/iu_paragraphs.module).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇪🇨Ecuador jwilson3

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