I need to expose a filter for selecting a range of dates for filtering signups in the user profile.

Adding any kind of "Signup: User: Signup Time" filter produces a WSOD.

I'm trying to add it to signup_current_signups.

The logged message is:

"PHP Fatal error: Only variables can be passed by reference in views/handlers/views_handler_filter_date.inc on line 77,"

Comments

penyaskito’s picture

Reproduced in 6.x-2.x-dev.

penyaskito’s picture

The error fires at validate_valid_time(&$form, $operator, $value) at views_handler_filter_date.

This method expect that $value is an array with the date passed as the value of the 'value' key, but instead it's passed as $value directly (not an array).

I need to locate when the $value array should be formed.

penyaskito’s picture

Changing the exposed filter to optional fixed the issue for me.

penyaskito’s picture

Status: Active » Closed (won't fix)