Expected a scalar value as a 2nd argument to Symfony\Component\HttpFoundation\InputBag::get()

Created on 26 September 2023, about 1 year ago
Updated 13 October 2023, about 1 year ago

InvalidArgumentException: Expected a scalar value as a 2nd argument to "Symfony\Component\HttpFoundation\InputBag::get()", "array" given. in Symfony\Component\HttpFoundation\InputBag->get() (line 31 of /code/vendor/symfony/http-foundation/InputBag.php).

Drupal\core_views_facets\Plugin\facets\url_processor\CoreViewsUrlProcessor->setActiveItems(Object) (Line: 83)
Drupal\facets\Plugin\facets\processor\UrlProcessorHandler->preQuery(Object) (Line: 291)
Drupal\facets\FacetManager\DefaultFacetManager->initFacets() (Line: 208)
Drupal\facets\FacetManager\DefaultFacetManager->getFacetsByFacetSourceId('core_views_exposed_filter:taxonomy_term__page_prod_all') (Line: 76)
Drupal\core_views_facets\EventSubscriber\AjaxResponseSubscriber->onResponse(Object, 'kernel.response', Object)
call_user_func(Array, Object, 'kernel.response', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 215)
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 203)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 125)
Drupal\pantheon_domain_masking\Middleware\DomainMaskingMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024