PHP 8.2 Deprecated function: Creation of dynamic property

Created on 3 May 2024, 8 months ago

Problem/Motivation

After switching to PHP 8.2 the module started throwing the following error:

Deprecated function: Creation of dynamic property Drupal\country_path\HttpKernel\CountryPathProcessor::$languageManager is deprecated in Drupal\country_path\HttpKernel\CountryPathProcessor->__construct() (line 34 of modules/contrib/country_path/src/HttpKernel/CountryPathProcessor.php).

Steps to reproduce

Install the module on Drupal 10 with PHP 8.2. The warning will be displayed on every page request.

πŸ› Bug report
Status

Closed: won't fix

Version

1.6

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine ankondrat4 Lutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024