Fatal error when using non-numeric filters with wrappers in Drupal 10 - e.g. datetime, maybe others

Created on 12 October 2023, 9 months ago
Updated 11 April 2024, 3 months ago

Scenario:
- Date field on content type
- Exposed date filter on a view
- "Between" operator for date filter
- Drupal 10.1

Observed behavior:
- WSOD on rendering the view
- Preview doesn't work either
- dblog error TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in array_keys() (line 258 of /code/modules/contrib/better_exposed_filters/src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php).

Todo:
- Someone else to confirm bug
- Figure out if it applies to other filters than datetime (?)
- Review the Merge Request

🐛 Bug report
Status

Closed: cannot reproduce

Version

6.0

Component

Code

Created by

🇺🇸United States AaronBauman Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024