TypeError: Illegal offset type in isset or empty

Created on 14 February 2023, almost 2 years ago
Updated 3 March 2024, 9 months ago

This error happens when switching to "Better Exposed Filters (with layout)":

The website encountered an unexpected error. Please try again later.
TypeError: Illegal offset type in Drupal\vefl\Vefl->getLayoutOptions() (line 64 of modules/contrib/vefl/src/Vefl.php).

Drupal\vefl\Vefl->getLayoutOptions() (Line: 44)
Drupal\vefl_bef\Plugin\views\exposed_form\VeflBef->buildOptionsForm() (Line: 1832)
Drupal\views\Plugin\views\display\DisplayPluginBase->buildOptionsForm() (Line: 437)
Drupal\views\Plugin\views\display\PathPluginBase->buildOptionsForm() (Line: 257)
Drupal\views\Plugin\views\display\Page->buildOptionsForm() (Line: 74)
Drupal\views_ui\Form\Ajax\Display->buildForm()
call_user_func_array() (Line: 531)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 278)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 215)
Drupal\views_ui\Form\Ajax\ViewsFormBase->Drupal\views_ui\Form\Ajax\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 217)
Drupal\views_ui\Form\Ajax\ViewsFormBase->ajaxFormWrapper() (Line: 127)
Drupal\views_ui\Form\Ajax\ViewsFormBase->getForm() (Line: 46)
Drupal\views_ui\Form\Ajax\Display->getForm()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 50)
Drupal\ban\BanMiddleware->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇳India junaidpv Kannur, Kerala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024