- Issue created by @SocialNicheGuru
- πΊπΈUnited States ramu_bharu Bridgewater, Massachusetts
Hello,
I tested the installation of the vrssfa module and did not encounter any errors or warnings. Could you please provide additional details or steps to help reproduce the issue?
Thanks,
Ramu - πΊπΈUnited States avattikonda Boston
@ramu_bharu
I tested the installation of the vrssfa module and did encounter above errors or warnings.
Below are the steps I followed to replicate
I attempted to enable the vrssfa module after downloading it via Composer and performing a fresh installation of Drupal 10.4. However, when I run drush en vrssfa, I encounter the following error:
In Renderer.php line 303:
Render context is empty, because render() was called outside of a renderRoot() or renderInIsolation() call. Use renderInIsolation()/renderRoot() or #lazy_builder/#pre_render instead.
I had attached a patch version which will fix the above error
Here I used renderInIsolation(): which safely renders the output outside of a regular render context, which is necessary when we're rendering something outside the normal page build process (like in an install hook).