I also noticed that today when I installed it. I changed the code around that statement to:
// Build tax criteria query parts based on the weights
if ( is_array($weight['tax']) ) {
foreach ( $weight['tax'] as $tax => $weight ) {
$newsql .= " + " .$this->tax_criteria($reference_ID, $tax) . " * " . intval($weight);
}
}
Just to check if $weight[‘tax’] is an array before going into that loop.