diff --git a/Model/Catalog/Layer/FilterList/Tweakwise.php b/Model/Catalog/Layer/FilterList/Tweakwise.php index 62f445f4..ccbead34 100644 --- a/Model/Catalog/Layer/FilterList/Tweakwise.php +++ b/Model/Catalog/Layer/FilterList/Tweakwise.php @@ -105,7 +105,7 @@ protected function initFilters(Layer $layer) } // @phpstan-ignore-next-line - $facets = $this->context->getResponse()->getFacets(); + $facets = $this->context->getResponse()->getFacets() ?? []; $facetAttributeNames = array_map( static function (FacetType $facet) {