Missing plugin id menu_link_content when publish an archive page

Created on 22 January 2025, 1 day ago

When archiving a page and republishing it, in some cases the menu_link_content reference does not exist in the menu_link_content list.

The error appears only under the web author, not the admin user. It might be related to permissions, but in my opinion, it should not return an error in any case.

Uncaught PHP Exception Drupal\Core\Entity\EntityStorageException: "Plugin ID 'menu_link_content:a0eac2a4-ec36-4a51-b836-97b04f3703c9' was not found." at /code/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php line 817

Suggestion patch, catch the error but not break the publish action.

🐛 Bug report
Status

Active

Version

10.3

Component

menu_link_content.module

Created by

🇦🇺Australia gigimaor Narangba/Brisbane

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

Comments & Activities

Production build 0.71.5 2024