Error: Call to a member function label() on null in Drupal\menu_link_content\Form\MenuLinkContentForm->form() (line 99 of /var/www/html/docroot/core/modules/menu_link_content/src/Form/MenuLinkContentForm.php).

Created on 29 December 2023, 6 months ago
Updated 13 April 2024, 2 months ago

Problem/Motivation

Getting below error when adding/ editing menu link from group content menu after update from Drupal 10.1.7 to Drupal 10.2.0
Error: Call to a member function label() on null in Drupal\menu_link_content\Form\MenuLinkContentForm->form() (line 99 of /var/www/html/docroot/core/modules/menu_link_content/src/Form/MenuLinkContentForm.php).

Steps to reproduce

1. Install group content menu .
2. Install group as well.
3. Then, Create menus type under the group content menu.
4. Now, Install the menu for the group type under the group content setting.
5. Try to add new link on group menu.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.2

Component
Menu system 

Last updated 2 days ago

Created by

🇮🇳India venkatadapa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

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.69.0 2024