Views filters settings saving issue

Created on 20 September 2024, about 2 months ago

Problem/Motivation

Error: Call to a member function get() on null in Drupal\views\Plugin\views\HandlerBase->getEntityType() (line 728 of /app/web/core/modules/views/src/Plugin/views/HandlerBase.php).

#0 /app/web/modules/contrib/state_machine/src/Plugin/views/filter/State.php(175): Drupal\views\Plugin\views\HandlerBase->getEntityType()
#1 [internal function]: Drupal\state_machine\Plugin\views\filter\State::Drupal\state_machine\Plugin\views\filter\{closure}(Object(Drupal\views\Plugin\views\filter\Bundle))
#2 /app/web/modules/contrib/state_machine/src/Plugin/views/filter/State.php(174): array_filter(Array, Object(Closure))
#3 /app/web/modules/contrib/state_machine/src/Plugin/views/filter/State.php(135): Drupal\state_machine\Plugin\views\filter\State->getBundles(Object(Drupal\Core\Entity\ContentEntityType), 'state')
#4 /app/web/modules/contrib/state_machine/src/Plugin/views/filter/State.php(77): Drupal\state_machine\Plugin\views\filter\State->getWorkflows(Object(Drupal\Core\Entity\ContentEntityType), 'state')
#5 /app/web/core/modules/views/src/Plugin/views/filter/InOperator.php(418): Drupal\state_machine\Plugin\views\filter\State->getValueOptions()

Steps to reproduce

I've tried to add a state field as a filter to the view. And I've got an issue when I tried to change the global filter settings.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine blade_ukraine

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