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

Created on 12 October 2023, about 1 year ago
Updated 6 September 2024, 4 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.71.5 2024