I encountered the same problem.
After some debugging I found that:
The method maybe_run_deletion()
on line 484
is calling the get_search_criteria
with 3 arguments:
$search_critera = $this->get_search_criteria( $form, $settings, 'deletion' );
However, that method has no third parameters set:
get_search_criteria( $form, $settings )
Yet it is still trying to use $type
(I assume that should be ‘deletion’) when building the search criteria array (line 587
):
'end_date' => date( 'Y-m-d H:i:s', strtotime( '-' . $settings[ $type . 'Date' ]['number'] . ' ' . $settings[ $type . 'Date' ]['unit'] ) ),
Meaning that search results can not get a proper date so it will return to the date time for null: 1970-01-01
.
So basically what is happening here is it is looking for forms with a start date of 1970 and an end date of 1970, ain’t going to work.
Everyone who has this version should have this problem.