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

Created on 25 March 2024, 2 months ago
Updated 9 April 2024, about 2 months ago

Problem/Motivation

On PHP8.2 the next deprecations appeared:

Deprecated function: Creation of dynamic property EntityReference_SelectionHandler_EntityQueue::$queue is deprecated in EntityReference_SelectionHandler_EntityQueue->__construct() (line 34 of /modules/contrib/entityqueue/plugins/entityreference/selection/EntityReference_SelectionHandler_EntityQueue.class.php)

Proposed resolution

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

πŸ› Bug report
Status

Fixed

Version

1.6

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.69.0 2024