Update to Drupal 10.4.0 breaks responsive menu

Created on 19 December 2024, 2 months ago

Problem/Motivation

After updating my site to Drupal 10.4.0 navigation menu is broken.

The menu style is different depending of the page:

1. If it's a view page or node type "Page", menu style is accordion and always open no matter of the screen width.
2. If it's a node type "Blog entry", then navigation menu breakpoints works reversed.
For example if I set default style Mega Nav and mobile style Off Canvas, it's reversed - Off Canvas is default, Mega Nav is mobile.

Moreover, an error messages are displayed:

Deprecated function: Creation of dynamic property Drupal\at_core\Layout\Layout::$layout_path is deprecated in Drupal\at_core\Layout\Layout->__construct() (line 27 of themes/contrib/at_theme/at_core/src/Layout/Layout.php).


Deprecated function: Creation of dynamic property Drupal\at_core\Layout\Layout::$layout_cid is deprecated in Drupal\at_core\Layout\Layout->__construct() (line 28 of themes/contrib/at_theme/at_core/src/Layout/Layout.php).

Php version is 8.3.8

Steps to reproduce

Install Adaptive Theme 2.0.1
Create new subtheme using AT_Tool.
Enable Responsive menus.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇷🇺Russia urix

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

Comments & Activities

Production build 0.71.5 2024