- πΊπΈUnited States jennypanighetti
#52 helped me! Thank you SO MUCH, it was driving me batty.
Adding a exposed filter to a view, and going to that view page leads to a notice, Notice: Undefined index: type in Drupal\views\Plugin\views\filter\Date->acceptExposedInput() (line 125 of core/modules/views/src/Plugin/views/filter/Date.php).
Date::acceptExposedInput is called two times in the views rendering build process (ViewsExecutable::build()
) , first time through $exposed_form->renderExposedForm()
and second time through $this->build('_filter')
. Date::acceptExposedInput is aware that calling its parent will unset the 'type' property it's using, and thus try to restore it.
There's a few early return before the reset though, and when those early return hits, the second acceptExposedInput call won't find the array key it's looking for.
Restore the 'type' key before any early return in Drupal\views\Plugin\views\filter\Date::acceptExposedInput().
Starting from a Standard profile installation:
At this point, you'll be greeted with the aforementioned notice. Note that it doesn't show up in the view preview.
Fixed
8.3 β°οΈ
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
#52 helped me! Thank you SO MUCH, it was driving me batty.