Problem/Motivation

ResponseText: The website encountered an unexpected error. Please try again later.LogicException: Render context is empty, because render() was called outside of a renderRoot() or renderPlain() call. Use renderPlain()/renderRoot() or #lazy_builder/#pre_render instead. in Drupal\Core\Render\Renderer->doRender() (line 244 of core/lib/Drupal/Core/Render/Renderer.php). Drupal\Core\Render\Renderer->render(Array, ) (Line: 377)

Steps to reproduce

Load a preview of the RSS output when building a view.

Proposed resolution

Fix the bug.

Remaining tasks

Fix the bug.

User interface changes

n/a

API changes

TBD

Data model changes

TBD

Issue fork views_rss-3303536

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna created an issue. See original summary.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
1.04 KB

This fixes it locally.

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

  • DamienMcKenna committed 8912d2e on 8.x-2.x
    Issue #3303536 by DamienMcKenna: Don't use \Drupal::service('renderer...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

VinmayiSwamy made their first commit to this issue’s fork.