"Warning: Undefined property: stdClass::$roles_target_id in Drupal\users_list\Controller\UsersListController->usersList() (line 126 of modules/contrib/users_list/src/Controller/UsersListController.php)."

Created on 28 May 2024, 7 months ago
Updated 13 June 2024, 7 months ago

Problem/Motivation

Getting this
"Warning: Undefined property: stdClass::$roles_target_id in Drupal\users_list\Controller\UsersListController->usersList() (line 126 of modules/contrib/users_list/src/Controller/UsersListController.php)."
after placing block using block layout in D10.2.2 with PHP 8.2.

Attaching reference for your 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 on the page for which you have placed the block.(You can also check the warning in Recent log message).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

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