Error: Attempt to modify property "menu_config" on null in we_megamenu_entity_insert()

Created on 16 May 2024, 6 months ago
Updated 11 July 2024, 4 months ago

Problem/Motivation

When adding new menu item under a parent link the following error is logged and the site breaks with "The website encountered an unexpected error. Try again later."

Error: Attempt to modify property "menu_config" on null in we_megamenu_entity_insert() (line 716 of /app/web/modules/contrib/we_megamenu/we_megamenu.module).

Steps to reproduce

  1. Navigate to /admin/structure/menu/manage/main
  2. Add a link (this works)
  3. Add a child link under the first link
🐛 Bug report
Status

Needs review

Version

1.16

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024