@baga @stordream
For anyone that is still looking for a working solution for PHP 7.1+ the changes made below seem to be working.
I changed the following lines of ultimate-wpqsf.php as follows:
Line 129
$cptarray[] = sanitize_text_field($cv);
to
$cptarray = array(); //add this line above
$cptarray[] = sanitize_text_field($cv);
Line 137
$taxoarray[]=array( etc
to
$taxoarray = array(); //add this line above
$taxoarray[]=array( etc
Line 155
$cmfarray[] = array( etc
to
$cmfarray = array(); //add this line above
$cmfarray[] = array(
Line 170
$relarray[] = array( etc
to
$relarray = array(); //add this line above
$relarray[] = array(