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

CommentFileSizeAuthor
#2 3074964-2.patch1 KBseanB
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

seanB created an issue. See original summary.

seanB’s picture

Status: Active » Needs review
FileSize
1 KB

Patch is attached.

  • mkalkbrenner committed a62b1eb on 8.x-3.x authored by seanB
    Issue #3074964 by seanB: Parameter must be an array or an object that...
mkalkbrenner’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.