Closed (fixed)
Project:
Layout Builder Browser
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2023 at 10:03 UTC
Updated:
18 Mar 2024 at 10:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
stefan.butura commentedComment #3
vbouchetComment #4
tim-dielsHmm this doesn't seem to be a correct solution for the problem. You bail out on the function and do not allow the following code to be executed.
There is indeed a need for a check. And when the class array does not exist, add it.
Comment #5
tim-dielsAh now i see, the solution is correct here as the code does not have any more need to be executed.
I'm not using the modal, so didn't got into this situation.
Can you elaborate on what versions you are using so one can try to reproduce this?
Comment #6
raveen_thakur51 commented@tim, After saving the block, i am getting this warning only. https://prnt.sc/v0CUXYyKihjx
Not sure if it is relevant to error @stefan got. I am using Drupal 10.2 and my PHP version is 8.1
Comment #8
strykaizer