Deprectated function since PHP 8.2

Created on 12 December 2024, 4 months ago
Updated 3 March 2025, about 1 month ago

Problem/Motivation

Following error appears since PHP 8.2:

Deprecated function: Creation of dynamic property Drupal\shortcut_menu\ShortcutMenuLazyBuilder::$shortcutBuilder is deprecated in Drupal\shortcut_menu\ShortcutMenuLazyBuilder->__construct() (line 25 of modules/contrib/shortcut_menu/src/ShortcutMenuLazyBuilder.php).

Proposed resolution

Create the shortcutBuilder property in the ShortcutMenuLazyBuilder class.

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium yorder.be

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024