- Issue created by @amanire
- Status changed to Needs review
about 1 year ago 3:29pm 17 May 2024 - First commit to issue fork.
- Merge request !7Use null coalescing operator to avoid array key warning β (Open) created by kevinquillen
Seeing the following warning in watchdog log:
Warning: Undefined array key "context_visibility" in layout_builder_context_form_alter() (line 33 of /app/web/modules/contrib/layout_builder_context/layout_builder_context.module)
Not exactly sure, but I'm guessing that the block predates installation of Layout Builder Context and does not use it.
Relevant line 33:
$contexts = is_array($configuration["context_visibility"]) ? $configuration["context_visibility"] : [];
Check if $configuration["context_visibility"]
isset first.
Self-assigning until I get a MR in place.
Active
1.0
Code