Fix PHP 8.2 deprecation issue with WidgetSelectorBase-class

Created on 24 March 2023, over 1 year ago
Updated 8 December 2023, 11 months ago

Problem/Motivation

- Opening the Media Directory UI gives the following with PHP 8.2:
Deprecated function: Creation of dynamic property Drupal\entity_browser\Plugin\EntityBrowser\WidgetSelector\Single::$widget_ids is deprecated in Drupal\entity_browser\WidgetSelectorBase->__construct() (line 43 of modules/contrib/entity_browser/src/WidgetSelectorBase.php).

Steps to reproduce

- Attached MR will fix this

๐Ÿ› Bug report
Status

Fixed

Version

2.0

Component

Miscellaneous

Created by

๐Ÿ‡ซ๐Ÿ‡ฎFinland j-vee Turku, Finland

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