PHP8.2 compatibility: Deprecated function: Creation of dynamic property

Created on 26 March 2024, 8 months ago

Problem/Motivation

On PHP8.2 the next deprecations appeared:

Deprecated function: Creation of dynamic property panels_mini_ui::$layouts is deprecated in panels_mini_ui->list_form() (line 14 of /panels/panels_mini/plugins/export_ui/panels_mini_ui.class.php).

$this->layouts = panels_get_layouts();

Proposed resolution

I propose to add PHP8.2 support for the "panels_mini_ui" class by adding #[\AllowDynamicProperties] annotation.

🐛 Bug report
Status

Needs review

Version

3.12

Component

Code

Created by

Live updates comments and jobs are added and updated live.
  • PHP 8.2

    The issue particularly affects sites running on PHP version 8.2.0 or later.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024