Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Since the languages on a solr query could be NULL, the we get the following notice in the logs when this is the case:
Parameter must be an array or an object that implements Countable in SearchApiSolrBackend->setAutocompleteSuggesterQuery()
Proposed resolution
Add a check if languages is not empty.
Remaining tasks
User interface changes
-
API changes
-
Data model changes
-
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3074964-2.patch | 1 KB | seanB |
Comments
Comment #2
seanBPatch is attached.
Comment #4
mkalkbrenner