Undefined variable in date_views_filter_handler_simple->value_form()

Created on 21 March 2011, over 14 years ago
Updated 7 July 2025, 3 months ago

I have a view with an exposed filter by year. I get this error message :

Notice: Undefined variable: source in date_views_filter_handler_simple->value_form() (line 228 of sites/all/modules/contrib/date/date_views/includes/date_views_filter_handler_simple.inc).
Notice: Undefined index: min in date_views_filter_handler_simple->accept_exposed_input() (line 109 of sites/all/modules/contrib/date/date_views/includes/date_views_filter_handler_simple.inc).
* Notice: Undefined index: max in date_views_filter_handler_simple->accept_exposed_input() (line 110 of sites/all/modules/contrib/date/date_views/includes/date_views_filter_handler_simple.inc).

And the filter doesn't work right, when I select 2011, it show content with the year 2010. (the operator is: "is equal to").

🐛 Bug report
Status

Fixed

Version

2.0

Component

Views Filter

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024