Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The problem is when module enabled via drush or config import, generation not just failed, thats ruined the whole over styles.
We need to manage how to generate it before first call, right after install module, but before first form call.
The message trying to enable it via drush.
[error] Render context is empty, because render() was called outside of a renderRoot() or renderPlain() call. Use renderPlain()/renderRoot() or #lazy_builder/#pre_render instead.
Comments
Comment #3
NiklanFixed by replacing render() to renderPlain() as error mention.