PHP8 Compatibility for dynamic properties

Created on 16 August 2023, about 1 year ago
Updated 19 August 2024, 3 months ago

Problem/Motivation

Dynamic properties errors show up on each of the Field Tools menu items
Deprecated function: Creation of dynamic property Drupal\field_tools\Controller\FieldList::$currentRoute is deprecated in Drupal\field_tools\Controller\FieldList->__construct() (line 46 of modules/contrib/field_tools/src/Controller/FieldList.php).

Steps to reproduce

Navigate to Reports > Field List > Tools/References/Graph results in a dynamic properties error in various classes.

Proposed resolution

A patch file is added here to define those class properties prior to being set.

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States peachez

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

Comments & Activities

Production build 0.71.5 2024