PHP 8.2 Deprecation errors for dynamic properties

Created on 14 February 2024, 10 months ago
Updated 17 September 2024, 3 months ago

Problem/Motivation

Experiencing deprecation errors due to missing properties declaration

Deprecated function: Creation of dynamic property Drupal\entity_language_fallback\Plugin\search_api\datasource\ContentEntityFallback::$languages is deprecated in Drupal\entity_language_fallback\Plugin\search_api\datasource\ContentEntityFallback->getLanguages()

Deprecated function: Creation of dynamic property Drupal\entity_language_fallback\Plugin\search_api\datasource\ContentEntityFallback::$fallback_chain is deprecated in Drupal\entity_language_fallback\Plugin\search_api\datasource\ContentEntityFallback->getLanguages()

Deprecated function: Creation of dynamic property Drupal\Core\Entity\Plugin\DataType\EntityAdapter::$language is deprecated in Drupal\entity_language_fallback\Plugin\search_api\datasource\ContentEntityFallback->loadMultiple()

Deprecated function: Creation of dynamic property Drupal\Core\Entity\Plugin\DataType\EntityAdapter::$fallbackLanguage is deprecated in Drupal\entity_language_fallback\Plugin\search_api\datasource\ContentEntityFallback->loadMultiple()

Steps to reproduce

1. Update to PHP 8.2
2. Try to Re-index content

๐Ÿ› Bug report
Status

Needs work

Version

1.5

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ฆUkraine lyalyuk

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024