- Issue created by @joelpittet
When adding the “Occurrences filter for Date (Datetime)” filter to a View, an AJAX HTTP error (500) occurs. The error message indicates that the typed property $largestDate in Drupal\date_recur\Plugin\views\filter\DateRecurFilter is being accessed before it has been initialized.
Expected Behavior:
The View should render and process the filter correctly without triggering an unexpected error.
Actual Behavior:
Upon preview, the View triggers an AJAX error leading to a HTTP 500 error. The specific error thrown is:
Typed property Drupal\date_recur\Plugin\views\filter\DateRecurFilter::$largestDate must not be accessed before initialization in DateRecurFilter->query() (line 128)
TBD
Active
3.8
Code