Creation of dynamic property $uid is deprecated

Created on 27 September 2023, about 1 year ago
Updated 3 May 2024, 8 months ago

Problem/Motivation

The module throws the following error when accessing the tac lite page for a user:
Deprecated function: Creation of dynamic property Drupal\tac_lite\Form\UserAccessForm::$uid is deprecated in Drupal\tac_lite\Form\UserAccessForm->buildForm() (line 37 of /app/web/modules/contrib/tac_lite/src/Form/UserAccessForm.php)

Steps to reproduce

  1. Visit /user/1/tac_lite
  2. Now the website shows some error encountered.

Proposed resolution

Add the declaration for the property $uid in the UserAccessForm class.

Data model changes

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India abinshoby

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