Rendering wrong template after updating from 2.x to 3.x

Created on 22 May 2024, 11 months ago
Updated 22 July 2024, 9 months ago

After to the latest version, the wrong template is rendering, but only for one menu.

menu--extras--main.html.twig should be rendering, and it was, prior to updating to 3.x.

The menu that has an issue is rendering using the base template.

FILE NAME SUGGESTIONS: x menu--main.html.twig x menu--main.html.twig * menu--extras--main.html.twig * menu--extras.html.twig x menu--main.html.twig * menu.html.twig

Whereas every other menu is rendering using the correct template.

FILE NAME SUGGESTIONS: * menu--top-menu.html.twig x menu--extras--top-menu.html.twig * menu--extras.html.twig * menu--top-menu.html.twig * menu.html.twig

It appears that the only change from 2.x to 3.x was converting hook_theme_suggestions_HOOK_alter() to hook_theme_suggestions_HOOK().

I'm unsure why this would result in the behavior I'm experiencing, but this is definitely unintended behavior.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇺🇸United States FrankieD3

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

Comments & Activities

Production build 0.71.5 2024