- Issue created by @alex.bukach
-
joelpittet →
committed d751f076 on 8.x-1.x
Issue #3494841 by alex.bukach: Undefined array key 1 in...
-
joelpittet →
committed d751f076 on 8.x-1.x
- 🇨🇦Canada joelpittet Vancouver
Thanks @alex.bukach I have committed this for the next release.
- Issue was unassigned.
- Status changed to Fixed
5 months ago 9:19pm 27 February 2025 Automatically closed - issue fixed for 2 weeks with no activity.
- 🇩🇰Denmark uv516 Denmark
You also need this
function menu_block_theme_suggestions_block_alter(array &$suggestions, array $variables) { - if ($suggestions[0] == 'block__menu_block') { + if (isset($suggestions[0]) && $suggestions[0] == 'block__menu_block') { if (isset($suggestions[1]) && $suggestions[1] == 'block__menu_block') {