Skip to content

Error when creating new menu item: attempt to read property "language"; Mega Menu button no longer showing #260

@jlilio

Description

@jlilio

Discussed in #259

Originally posted by jlilio December 8, 2022
Development Environment:

  • XAMPP for Windows 8.0.23
  • Joomla 4.2.5
  • Astroid Framework Version: 2.6.3
  • Template Version: 2.6.3 (One)

Error when creating new menu on the back end administration:
Warning: Attempt to read property "language" on null in \libraries\astroid\framework\layouts\fields\astroidmenuoptions.php on line 62

Effect: When creating a new menu, Astroid Menu Options > Mega Menu button is no longer showing. Downgrading to framework 2.6.2 did not correct the error. All previously created menus are fine (i.e., no error message pertaining to language and mega menu is still available).

This may be a bug. Any ideas?

20221208-issue-astroidmenuoptions-line-62-attempt-to-read-property-language-error-megamenu-missing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions