Fix Error when trying to add new menu link as sub-link of the menu item

Created on 17 March 2022, almost 3 years ago
Updated 21 March 2023, almost 2 years ago

Problem/Motivation

Fix Error when trying to add new menu link as sub-link of the menu item

Steps to reproduce

- Install we mega menu module.
- Add multiple links with rows and cols
- Add a link to be sub-menu from the link that exists in col.
The website encountered an unexpected error. Please try again later.
Error: Attempt to modify property "col_content" on null in Drupal\we_megamenu\WeMegaMenuBuilder::menuItemInsert() (line 390 of modules/contrib/we_megamenu/src/WeMegaMenuBuilder.php).

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Qusai Taha Amman

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.71.5 2024