PHP notice "Undefined index: menu_name" when menu tree is empty

Created on 13 July 2016, almost 8 years ago
Updated 25 January 2023, over 1 year ago

Getting Undefined index: menu_name randomly when clearing cache. Complete error message returned to: /admin/config/development/performance - Notice: Undefined index: menu_name in menu_block_theme_suggestions_menu() (line 52 of sites/mountwashington.org/modules/menu_block/menu_block.module). menu_block_theme_suggestions_menu(Array)

Running a second "Clear all caches" immediately afterwards doesn't return the Notice.

I'm thinking this will probably need a fix similar to 2759019.

I'm on Drupal 8.1.6 with a clean install of menu block

I'm on

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024