Closed (fixed)
Project:
Bootstrap5
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2025 at 16:15 UTC
Updated:
11 Feb 2026 at 08:39 UTC
Jump to comment: Most recent
Fatal error when rendering blocks with #lazy_builder content:
AssertionError: When a #lazy_builder callback is specified, no properties can exist; all properties must be generated by the #lazy_builder callback. You specified the following properties: #attributes. in assert() (line 390 of core/lib/Drupal/Core/Render/Renderer.php).
Do not add attributes for #lazy_builder blocks.
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:
Comments
Comment #5
jannakha commentedSteps to reproduce
Add the block "Shortcuts" to the page (it uses lazy_builder)
MR tested and fix works.
Thank you for your contribution.
Created MR to fix v4.x .
Please release.
Comment #6
vladimirausThank you! Committed. 🍻