Broken Moderation history tab

Created on 15 November 2023, about 1 year ago

Problem/Motivation

The moderation history tab on node edit page is not working. This error appears in the logs:

Error: Call to a member function getFields() on string in _site_studio_get_cohesion_fields() (line 123 of /var/www/html/docroot/modules/contrib/site_studio_per_component_libs/site_studio_per_component_libs.module).

Steps to reproduce

Access the history tab on a node edit page

Proposed resolution

Add a check for node id and call for node object instead.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom sabrina.liman

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

Comments & Activities

Production build 0.71.5 2024