diff --git a/Classes/Service/SolrServiceProvider.php b/Classes/Service/SolrServiceProvider.php index 1aed6b44..74e27442 100644 --- a/Classes/Service/SolrServiceProvider.php +++ b/Classes/Service/SolrServiceProvider.php @@ -295,7 +295,7 @@ protected function addFacetFilters(array $arguments): array // If facet.missing is active and facet is selected // set solr query to exclude all known facet values - if ($facetTerm === $facetInfo['config']['labelMissing']) { + if (array_key_exists('labelMissing', $facetInfo['config']) && $facetTerm === $facetInfo['config']['labelMissing']) { $this->query->createFilterQuery($queryInfo) ->setQuery('-'.str_replace('("%s")', '[* TO *]', $facetInfo['config']['query'])); } else {