Closed (fixed)
Project:
Bootstrap Layout Builder
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Jul 2023 at 17:34 UTC
Updated:
29 Sep 2024 at 17:39 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #3
carolpettirossi commentedAttaching a patch to use in composer.json
Comment #4
keshavv commentedI am doubtful, that you getting an error because
$strucutre_idis a required parameter, It will never be null.Comment #5
luke.stewart commentedI've also manage to generate this. I'm unclear if there was some additional config missing but can confirm that manually updating getClassByPosition such that it defaults to sufix = 12 and only checks $strucutre_id if it's not empty removes the error.
Happy to submit a MR for this if helpful - but you seem to think perhaps this should not be the case? And am wondering if I've done something wrong - missed a step in configuration after install?
I'm using this with Layout Builder on a paragraph if that sheds some light on this?
Comment #6
jaypanI'm seeing this in my console as well.
Comment #7
chikeI encountered this issue in Drupal 10.3.1. Patch #3 got me over it. There seems to be other opinions about the patch on this page.
Also not sure if it is related to this issue, but the module still had other problems after I got over the first issue. I then opened this issue.
Comment #9
rajab natshahComment #10
rajab natshahComment #11
rajab natshah✅ Released bootstrap_layout_builder-2.1.3