From 124d147b5f0e249e013e47d66923d5881266dc99 Mon Sep 17 00:00:00 2001
From: rashmi soni <soni.rashu@gmail.com>
Date: Mon, 20 Feb 2023 14:07:20 +0530
Subject: [PATCH] 3327246-Malformed Facet URL's Causing TypeErrors

---
 src/Plugin/facets/url_processor/QueryString.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Plugin/facets/url_processor/QueryString.php b/src/Plugin/facets/url_processor/QueryString.php
index 49a8e4aa..f560018c 100644
--- a/src/Plugin/facets/url_processor/QueryString.php
+++ b/src/Plugin/facets/url_processor/QueryString.php
@@ -331,6 +331,9 @@ class QueryString extends UrlProcessorPluginBase {
     $active_filters = [];
     // Explode the active params on the separator.
     foreach ($active_params as $param) {
+      if (is_array($param)) {
+        continue;
+      }
       $explosion = explode($this->getSeparator(), $param);
       $url_alias = array_shift($explosion);
       if ($facet_id = $this->getFacetIdByUrlAlias($url_alias, $facet_source_id)) {
-- 
GitLab