Trying to get property 'menu_config' of non-object in we_megamenu_entity_insert()

Created on 11 December 2021, about 3 years ago
Updated 20 June 2023, over 1 year ago

Problem/Motivation

For our project, we use the Menu export module and Mega Menu. After trying to import menu changes from the configuration I see errors in this module:

Notice: Trying to get property 'menu_config' of non-object in we_megamenu_entity_insert() (line 644 of modules/contrib/we_megamenu/we_megamenu.module).
we_megamenu_entity_insert(Object)

Warning: Invalid argument supplied for foreach() in we_megamenu_entity_insert() (line 644 of modules/contrib/we_megamenu/we_megamenu.module).
we_megamenu_entity_insert(Object)

Warning: Creating default object from empty value in we_megamenu_entity_insert() (line 671 of modules/contrib/we_megamenu/we_megamenu.module).
we_megamenu_entity_insert(Object)
πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine SerShevchyk Lutsk

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