- Status changed to RTBC
6 months ago 1:46pm 4 June 2024
I'm seeing the following errors in logs and on local in the on-screen error messages.
Warning: reset() expects parameter 1 to be array, null given in template_preprocess_we_megamenu_row() (line 480 of modules/contrib/we_megamenu/we_megamenu.module).
Notice: Undefined property: stdClass::$col_config in template_preprocess_we_megamenu_col() (line 509 of modules/contrib/we_megamenu/we_megamenu.module).
Notice: Trying to get property 'width' of non-object in template_preprocess_we_megamenu_col() (line 536 of modules/contrib/we_megamenu/we_megamenu.module).
Notice: Trying to get property 'width' of non-object in template_preprocess_we_megamenu_col() (line 539 of modules/contrib/we_megamenu/we_megamenu.module).
Unsure how to reproduce, or what caused this all of a sudden, but I have a patch in case anyone else needs it.
Improve checking for empty values.
None
None
None
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.