Incompatible declaration of Drupal\menu_link_content_visibility\MenuLinkContentVisibilityLinkTreeManipulator::menuLinkCheckAccess - D9

Created on 7 January 2022, almost 3 years ago
Updated 5 October 2023, about 1 year ago

Problem/Motivation

On core D9 module throws warning:

Warning: Declaration of Drupal\menu_link_content_visibility\MenuLinkContentVisibilityLinkTreeManipulator::menuLinkCheckAccess(Drupal\Core\Menu\MenuLinkInterface $instance) should be compatible with Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess(Drupal\Core\Menu\MenuLinkInterface $instance, $nonedisplay = true) in /var/www/html/web/modules/contrib/menu_link_content_visibility/src/MenuLinkContentVisibilityLinkTreeManipulator.php on line 101

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

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

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