- Issue created by @Andrei Haurukovich
- last update
3 months ago 25 pass - Status changed to Needs review
3 months ago 11:13am 26 February 2024
On PHP8.2 I caught a warning
Deprecated function: Creation of dynamic property SolrBaseQuery::$sortstring is deprecated in SolrBaseQuery->__construct() (line 317 of ../apachesolr/Solr_Base_Query.php).
Switch to PHP8.2, go to search page, check dblog
I would suggest declaring a property in class SolrBaseQuery. Also, we can add annotation comments like #[\AllowDynamicProperties]
Needs review
1.13
Code
The issue particularly affects sites running on PHP version 8.2.0 or later.