Download & Extend

error with menu attributes

Project:Menu attributes
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

hi there,

error:
Recoverable fatal error: Argument 2 passed to _menu_attributes_form_alter() must be an array, null given, called in /sites/all/modules/menu_attributes/menu_attributes.module on line 167 and defined in _menu_attributes_form_alter() (Zeile 180 von /sites/all/modules/menu_attributes/menu_attributes.module).

reproduce error:
enable the menu integration of ET while having menu attributes enabled.

try to add a translation to an existing node results in error

greets,

attisan

ps.: though I personally would see this as a major / critical error I do understand that menu attributes isn't used that much.

Comments

#1

Project:Entity Translation» Menu attributes
Version:7.x-1.x-dev» 7.x-1.x-dev
Component:Menu integration» Code
Status:active» postponed (maintainer needs more info)

Sorry, but I can't reproduce the error. Downloaded the module (dev version), enabled it and I was able to add new and edit existing translations/nodes without getting any errors.

Also, from the error message it sounds like it could easily be fixed in the menu_attributes module by adding some additional validation before calling _menu_attributes_form_alter()... therefore moving to the Menu Attributes issue queue.