Creation of dynamic property is deprecated

Created on 27 June 2024, 5 months ago

Problem/Motivation

The creation of dynamic properties is deprecated as of PHP 8.2

Steps to reproduce

open `admin/structure/empty-page/[ID]/edit`, eg: admin/structure/empty-page/1/edit

Proposed resolution

Add the #[\AllowDynamicProperties] attribute to the class (which also applies to all child classes).

Based on the Paragraphs Browser+Previewer issue https://www.drupal.org/project/paragraphs_browser_previewer/issues/3414892 💬 The creation of dynamic properties is deprecated on PHP 8.2 RTBC

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇨🇦Canada bohemier Québec city, Qc

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

Comments & Activities

Production build 0.71.5 2024