- Issue created by @stefan.butura
- Status changed to Needs review
about 1 year ago 1:56pm 13 December 2023 - Status changed to Needs work
11 months ago 8:55am 20 February 2024 - 🇧🇪Belgium tim-diels Belgium 🇧🇪
Hmm 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. - Status changed to Needs review
11 months ago 8:57am 20 February 2024 - 🇧🇪Belgium tim-diels Belgium 🇧🇪
Ah 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?
- 🇮🇳India Raveen Kumar
@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 -
StryKaizer →
committed 5a59f192 on 8.x-1.x authored by
stefan.butura →
Issue #3378982 by stefan.butura: TypeError: in_array(): Argument #2 ($...
-
StryKaizer →
committed 5a59f192 on 8.x-1.x authored by
stefan.butura →
- Status changed to Fixed
11 months ago 10:42am 4 March 2024 Automatically closed - issue fixed for 2 weeks with no activity.