By mcdruid on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x
Introduced in version:
7.93
Issue links:
Description:
Drupal 7's EntityFieldQuery declared a public property $orderedResults but the actual code uses $this->ordered_results instead.
In PHP 8.2 this results in an exception:
Creation of dynamic property EntityFieldQuery::$ordered_results is deprecated
The declared property has been renamed to $ordered_results. It might have been more correct to change the property that is used to $orderedResults but as this is a public property that may have broken contrib or custom code.
Although it's perhaps unlikely (as the property would always be empty), any contrib or custom code that uses $orderedResults will need to change to use $ordered_results instead.
Impacts:
Module developers