Hi @pameeela,
I had been doing some tests. The error is raised when you change the "filter ID" in the filter configuration. If you change it the site crash when you use the filter, but if you put again the same "filter ID" everithing works fine again.
Thanks.
Hi @pameeela,
I have the same issue.
It is independent of Better Exposed Filter module.
If you use a exposed filter type grouped for a date field, the site crash with error:
TypeError: Cannot access offset of type string on string in /web/core/modules/views/src/Plugin/views/filter/Date.php on line 153 #0 /web/core/modules/views/src/Form/ViewsExposedForm.php(188): Drupal\\views\\Plugin\\views\\filter\\Date->acceptExposedInput()\n#1 [internal function]: Drupal\\views\\Form\\ViewsExposedForm->submitForm()\n#2 /web/core/lib/Drupal/Core/Form/FormSubmitter.php(114): call_user_func_array()\n#3 /web/core/lib/Drupal/Core/Form/FormSubmitter.php(52): Drupal\\Core\\Form\\FormSubmitter->executeSubmitHandlers()\n#4 /web/core/lib/Drupal/Core/Form/FormBuilder.php(595): Drupal\\Core\\Form\\FormSubmitter->doSubmitForm()\n#5 /web/core/lib/Drupal/Core/Form/FormBuilder.php(323): Drupal\\Core\\Form\\FormBuilder->processForm()\n#6 /web/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php(134): Drupal\\Core\\Form\\FormBuilder->buildForm()\n#7 /web/core/modules/views/src/ViewExecutable.php(1243): Drupal\\views\\Plugin\\views\\exposed_form\\ExposedFormPluginBase->renderExposedForm()\n#8 /web/core/modules/views/src/Plugin/views/display/PathPluginBase.php(392): Drupal\\views\\ViewExecutable->build()\n#9 //web/core/modules/views/src/Plugin/views/display/Page.php(196): Drupal\\views\\Plugin\\views\\display\\PathPluginBase->execute()\n#10 /web/core/modules/views/src/ViewExecutable.php(1635): Drupal\\views\\Plugin\\views\\display\\Page->execute()\n#11 /web/core/modules/views/src/Element/View.php(81): Drupal\\views\\ViewExecutable->executeDisplay()\n#12 [internal function]: Drupal\\views\\Element\\View::preRenderViewElement()\n#13 /web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array()\n#14 /web/core/lib/Drupal/Core/Render/Renderer.php(788): Drupal\\Core\\Render\\Renderer->doTrustedCallback()\n#15 /web/core/lib/Drupal/Core/Render/Renderer.php(374): Drupal\\Core\\Render\\Renderer->doCallback()\n#16 /web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\\Core\\Render\\Renderer->doRender()\n#17 /web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\\Core\\Render\\Renderer->render()\n#18 /web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\\Core\\Render\\MainContent\\HtmlRenderer->Drupal\\Core\\Render\\MainContent\\{closure}()\n#19 /web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(243): Drupal\\Core\\Render\\Renderer->executeInRenderContext()\n#20 /web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(132): Drupal\\Core\\Render\\MainContent\\HtmlRenderer->prepare()\n#21 /web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\\Core\\Render\\MainContent\\HtmlRenderer->renderResponse()\n#22 [internal function]: Drupal\\Core\\EventSubscriber\\MainContentViewSubscriber->onViewRenderArray()\n#23 /web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func()\n#24 /vendor/symfony/http-kernel/HttpKernel.php(174): Drupal\\Component\\EventDispatcher\\ContainerAwareEventDispatcher->dispatch()\n#25 /vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#26 /web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#27 /web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\\Core\\StackMiddleware\\Session->handle()\n#28 /web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\\Core\\StackMiddleware\\KernelPreHandle->handle()\n#29 /web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\\page_cache\\StackMiddleware\\PageCache->pass()\n#30 /web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\\page_cache\\StackMiddleware\\PageCache->handle()\n#31 /web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\\Core\\StackMiddleware\\ReverseProxyMiddleware->handle()\n#32 /vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\\Core\\StackMiddleware\\NegotiationMiddleware->handle()\n#33 /web/core/lib/Drupal/Core/DrupalKernel.php(713): Stack\\StackedHttpKernel->handle()\n#34 /web/index.php(19): Drupal\\Core\\DrupalKernel->handle()\n#35 {main}, referer: http://XXX
My Drupal core is 9.5.2, but also hapends with 9.4.8.
#1 works for me.
Thanks