"Deprecated function: Creation of dynamic property Drupal\users_list\Plugin\Block\UsersListBlock::$usersListController is deprecated in Drupal\users_list\Plugin\Block\UsersListBlock->__construct() (line 53 of modules/contrib/users_list/src/Plugin"

Created on 27 May 2024, 7 months ago
Updated 28 May 2024, 7 months ago

Problem/Motivation

Getting warning

"Deprecated function: Creation of dynamic property Drupal\users_list\Plugin\Block\UsersListBlock::$usersListController is deprecated in Drupal\users_list\Plugin\Block\UsersListBlock->__construct() (line 53 of modules/contrib/users_list/src/Plugin/Block/UsersListBlock.php)."

After placing users_list block using the block layout in D10.2.2 with PHP 8.2.

Attaching SS for reference :

Steps to reproduce

1. Install & Enable the module
2. Place users_list block in any region using block layout.
3.After saving the block warning will be popup to Block layout page & also in the page for which you have place the block.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇮🇳India sourav_paul Kolkata

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