- Status changed to Closed: cannot reproduce
3 months ago 12:59pm 20 August 2024
When using views for custom method reference on a taxonomy term reference field and use this term on a taxonomy filter, there is an error and the list can't be modified :
The website encountered an unexpected error. Please try again later.
TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in array_keys() (line 53 of modules/contrib/entity_list/src/Service/ContentFilterService.php).
array_keys(NULL) (Line: 53)
Drupal\entity_list\Service\ContentFilterService->getFieldsTermsFilter(Object) (Line: 375)
Drupal\entity_list\Plugin\EntitylistExtraDisplay\FiltersEntityListExtraDisplay->getDataAddFilters(Object) (Line: 39)
Drupal\entity_list\Plugin\EntitylistExtraDisplay\FiltersEntityListExtraDisplay->settingsForm(Object) (Line: 268)
Drupal\entity_list\Form\EntityListForm->buildFieldset(Array, Object, Object) (Line: 191)
Drupal\entity_list\Form\EntityListForm->buildTab(Array, Object, Object) (Line: 343)
Drupal\entity_list\Form\EntityListForm->form(Array, Object) (Line: 106)
Drupal\Core\Entity\EntityForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 531)
Drupal\Core\Form\FormBuilder->retrieveForm('entity_list_edit_form', Object) (Line: 278)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
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: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 709)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Closed: cannot reproduce
2.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.