Undefined property

Created on 15 March 2023, over 2 years ago

Problem/Motivation

Inside ShortcutMenuLazyBuilder.php file is showed this errorUndefined property '$shortcutBuilder'.

Steps to reproduce

Go to ShortcutMenuLazyBuilder.php file.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇧🇷Brazil elber Brazil

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

Comments & Activities

  • Issue created by @elber
  • Status changed to Needs review over 2 years ago
  • 🇧🇷Brazil elber Brazil

    Hi I fixed the error in Shortcut builder property, about entity type manager undefined property it was fixed here( https://www.drupal.org/project/shortcut_menu/issues/3347117 📌 Fix the issues reported by phpcs Needs review ) please revise.

  • Status changed to Needs work 8 months ago
  • 🇨🇭Switzerland boromino

    The patch fixes the error. However, please remove "$shortcut_builder" from @var definition. I also suggest to replace "Shortcut builder property." by "Shortcut lazy builders service." and "protected $entity_type_manager;" by "protected $entityTypeManager;"

  • 🇨🇭Switzerland boromino

    Duplicate of #3493507 🐛 Deprectated function since PHP 8.2 Needs review

Production build 0.71.5 2024