- Issue created by @blade_ukraine
- Merge request !28Issue #3475787: Views filters settings saving issue β (Open) created by blade_ukraine
- Status changed to Needs review
about 2 months ago 12:54pm 20 September 2024
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()
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.
Needs review
1.0
Code