Install

Works with Drupal: ^9 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 13.51 KB
MD5: e5ed3dfcb2bcfea63fb7802268918bda
SHA-1: d638bb064c21fc9feee637caefc679d5be7aec6a
SHA-256: 0ca71ff07a5ac4c0667c8f3bbb0eb770ac5669a739bb085aeca9ce35a322cb2b
Download zip 17.43 KB
MD5: 37ab4bccbde64d7981d98e38a8dde4b4
SHA-1: 45b60ebc015d2f7677a9bbc8548dff09042fed27
SHA-256: 213e47b2d7bcd2a99184859289bf70e49aa2e69f7888cad9df53f3bfa39bdd6d

Release notes

This release fixes an HTTP 500 error on pages whose parent menu item the current user cannot access.

Summary

When the active menu item has no children, the block shows the menu tree under that item's parent. If the current user could not access that parent, for example an unpublished node seen by an anonymous user, the menu built no items and the page failed with an HTTP 500 error. The block now renders nothing in that case. It also keeps the access cacheability of the menu tree, so it shows the parent again as soon as the parent becomes accessible, for example when the node is published again.

Contributors (5)

geinosky, lorir, sgeinosky, datvance, mably

Changelog

Issues: 1 issue resolved.

Changes since 1.3.0:

Bug

  • #3500585 by geinosky, lorir, sgeinosky, datvance, mably: Parent menu items that require authentication to see cause the menu to break
Created by: mably
Created on: 27 Oct 2026 at 22:09 UTC
Last updated: 27 Oct 2026 at 22:10 UTC
Bug fixes

Other releases