src/FallbackController.php error on PHP8.2, Deprecated function: Creation of dynamic property

Created on 11 December 2023, about 1 year ago
Updated 17 September 2024, 3 months ago

On PHP 8.2, Deprecated function: Creation of dynamic property on line 49 of src/FallbackController.php,
this is caused by the following line
$this->entityTypeManager = $entityTypeManager;

To fix it, just need to have this property predefined in the beginning.

protected $entityTypeManager;

then the error alert is gone.

🐛 Bug report
Status

Closed: duplicate

Version

1.5

Component

Code

Created by

🇨🇳China 55diego

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

Comments & Activities

Production build 0.71.5 2024