Problem/Motivation
LogicException: Render context is empty, because render() was called outside of a renderRoot() or renderPlain() call. Use renderPlain()/renderRoot()
Happens for example with token.module requirements sensor.
Proposed resolution
Execute in a render context?
Possibly the bug is also in token module and we need to fix it there.
Comments