Deprecated function: Creation of dynamic property Drupal\features\FeaturesGenerationMethodManager::$cacheKeyPrefix is deprecated

Created on 11 October 2024, 5 months ago

Problem/Motivation

After php8.3 upgrade I'm seeing this error during cache rebuild:

Deprecated function: Creation of dynamic property Drupal\features\FeaturesGenerationMethodManager::$cacheKeyPrefix is deprecated in Drupal\features\FeaturesGenerationMethodManager->__construct() (line 28 of /app/web/modules/contrib/features/src/FeaturesGenerationMethodManager.php)

#0 /app/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real()
#1 /app/web/modules/contrib/features/src/FeaturesGenerationMethodManager.php(28): _drupal_error_handler()
#2 /app/web/core/lib/Drupal/Component/DependencyInjection/Container.php(259): Drupal\features\FeaturesGenerationMethodManager->__construct()
#3 /app/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()

Proposed resolution

Declare cacheKeyPrefix property in FeaturesGenerationMethodManager class.

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

🇸🇮Slovenia useernamee Ljubljana

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