Problem/Motivation

When executing a solrSearch query, a warning appears: Warning: foreach() argument must be of type array|object, null given in Drupal\graphql_search_api_solr\Plugin\GraphQL\DataProducer\SearchApi\SolrSearch->getFacetsData() (Line 208 in graphql_search_api_solr/src/Plugin/GraphQL/DataProducer/SearchApi/SolrSearch.php)

Steps to reproduce

Execute any solrSearch query without using facets at all.

Proposed resolution

See Patch/MR

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

daveiano created an issue. See original summary.

chetan 11 made their first commit to this issue’s fork.

chetan 11’s picture

Status: Active » Needs review

Please check the above MR.

b2f’s picture

Status: Needs review » Reviewed & tested by the community
b2f’s picture

Status: Reviewed & tested by the community » Fixed

b2f’s picture

Version: 1.0.x-dev » 1.3.3-rc1
Status: Fixed » Closed (fixed)
b2f’s picture