Fatal error on render on front-end resulting in no related content

Created on 19 September 2025, 1 day ago

Problem/Motivation

renderRoot is not allowed for front-end but required for Views preview

Steps to reproduce

Render in views preview: works
Render via e.g. drupal_view() twig tweak: fatal error

Proposed resolution

Make code conditional on context

Remaining tasks

MR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom scott_euser

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.

No activities found.

Production build 0.71.5 2024