- Issue created by @Igumnov_aleksey
Deprecated function: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in apachesolr_autocomplete_suggest_word_completion() (line 250 of /apachesolr_autocomplete/apachesolr_autocomplete.module).
1. Search for ' *' used autocomplete.
2. Go to dblog
3. Locate deprecated function
so I used Elvis operator ( ?: ) to bypass null value
Needs review
1.4
Code
The issue particularly affects sites running on PHP version 8.1.0 or later.