Problem/Motivation
- Create a vocabulary with some terms.
- Create a view of taxonomy terms
- New filter of Term
- Select "drop-down list"
- Choose "Is none of" or "Is all of" and select at least one term
- Apply
The loading spinner "spins" but not happens. And preview is not refreshed. The error return from the ajax handler is:
A valid cache entry key is required. Use getAll() to get all table data. in <em class="placeholder">Drupal\views\ViewsData->get()</em> (line <em class="placeholder">140</em> of <em class="placeholder">core/modules/views/src/ViewsData.php</em>). <pre class="backtrace">Drupal\views\Plugin\views\HandlerBase::getTableJoin(NULL, 'taxonomy_term_field_data') (Line: 88)
Drupal\views\ManyToOneHelper->addTable(Object) (Line: 243)
Drupal\views\ManyToOneHelper->ensureMyTable() (Line: 123)
Drupal\views\Plugin\views\filter\ManyToOne->ensureMyTable() (Line: 260)
Drupal\views\ManyToOneHelper->addFilter() (Line: 136)
Drupal\views\Plugin\views\filter\ManyToOne->opHelper() (Line: 389)
Drupal\views\Plugin\views\filter\InOperator->query() (Line: 1373)
Drupal\views\ViewExecutable->_build('filter') (Line: 1262)
Drupal\views\ViewExecutable->build(NULL) (Line: 1391)
Drupal\views\ViewExecutable->execute(NULL) (Line: 1454)
Drupal\views\ViewExecutable->render() (Line: 2454)
Drupal\views\Plugin\views\display\DisplayPluginBase->preview() (Line: 1662)
Drupal\views\ViewExecutable->preview('block_1', Array) (Line: 602)
Drupal\views_ui\ViewUI->renderPreview('block_1', Array) (Line: 62)
Drupal\views_ui\ViewPreviewForm->form(Array, Object) (Line: 106)
Drupal\Core\Entity\EntityForm->buildForm(Array, Object) (Line: 41)
Drupal\views_ui\ViewFormBase->buildForm(Array, Object, 'block_1')
call_user_func_array(Array, Array) (Line: 532)
Watchdog errors are:
Warning: Creating default object from empty value in Drupal\views\ManyToOneHelper->ensureMyTable() (line 232 of /app/drupal-91x/core/modules/views/src/ManyToOneHelper.php)
InvalidArgumentException: A valid cache entry key is required. Use getAll() to get all table data. in Drupal\views\ViewsData->get() (line 140 of /app/drupal-91x/core/modules/views/src/ViewsData.php).
Notice: Undefined property: stdClass::$leftTable in Drupal\views\ManyToOneHelper->addTable() (line 87 of /app/drupal-91x/core/modules/views/src/ManyToOneHelper.php)