Skip to content

[4.0] Creating a new admin menu leads of php notices  #29810

@PhilETaylor

Description

@PhilETaylor

Steps to reproduce the issue

Login to Joomla 4 admin as super admin

Menus -> Manage -> Select Administrator from dropdown

Click New - Set title = asfjkdhcksjdfyb - set unique name asfjkdhcksjdfyb -> click save and close

Click "Add a module for this menu" button

Give module a title - select position = menu [menu] click save and close

(The first time there was a link about "menu recovery mode" that I clicked, the second time this never showed)

Screenshot 2021-05-05 at 19 47 46

Expected result

No PHP Notices

Only ONE of the default menus

Actual result

Notice: Undefined property: Joomla\CMS\Menu\AdministratorMenuItem::$element in /var/www/html/administrator/modules/mod_menu/src/Menu/CssMenu.php on line 313

Screenshot 2020-06-28 at 19 13 33

And if I scroll down I see another default set of the menu system with "menu recovery" hide/show link

Screenshot 2020-06-28 at 19 15 44

System information (as much as possible)

Joomla 4 beta 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions