Call to a member function getType() on null in moderation_note_preprocess_field()

Created on 5 January 2021, almost 4 years ago
Updated 23 October 2023, about 1 year ago

Problem/Motivation

Error: Call to a member function getType() on null in moderation_note_preprocess_field() (line 159 of modules/contrib/moderation_note/moderation_note.module).

Steps to reproduce

Install module on Drupal 8.9.0, display any node, error appears.

Proposed resolution

Using $field_definition when not defined.

πŸ’¬ Support request
Status

Closed: duplicate

Component

Code

Created by

πŸ‡΅πŸ‡±Poland javjaff

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024