When displaying fields you cannot render fields you will get the following error.
NOTICE: PHP message: Uncaught PHP Exception 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.
ATM I need to display these as raw values to avoid crashing.
When displaying fields you cannot render fields you will get the following error.
NOTICE: PHP message: Uncaught PHP Exception 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.
ATM I need to display these as raw values to avoid crashing.