PHP 8.2 compatibility

Created on 7 September 2023, about 1 year ago
Updated 5 February 2024, 10 months ago

Problem/Motivation

When I access the language selection page I get the following warning

Deprecated function: Creation of dynamic property Drupal\language_selection_page\LanguageSelectionPageConditionManager::$cacheKeyPrefix is deprecated in Drupal\language_selection_page\LanguageSelectionPageConditionManager->__construct() (line 32 of modules/contrib/language_selection_page/src/LanguageSelectionPageConditionManager.php).

Steps to reproduce

Enable the module, configure it and go to a page that should redirect to the language selection

Proposed resolution

Remove the cacheKeyPrefix property as it is not used.

Remaining tasks

Patch

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇪🇸Spain rodrigoaguilera Barcelona

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

Comments & Activities

Production build 0.71.5 2024