- Issue created by @danrod
I know this project is pretty dead and not maintained anymore, but I've come across this warning when an user tries to do a an empty search (for example https://mysite.com/search/site/ ) and the "word suggestions" functionality is on, I get this warning:
Deprecated function: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in apachesolr_search_get_search_suggestions() (line 1425 of /docroot/sites/all/modules/contrib/apachesolr/apachesolr_search.module).
Check details below
Check if $query->getParam('q')
is empty, something like
$keyword = strtolower($query->getParam('q') ?? '');
Provide a patch for this.