This is in the HTML scrape code and something isn't in the format inspected. Middle line is 707.
$startgrab = strpos($html, '<td colspan="2" valign="top" align="left"');
$start = strpos($html, '<td colspan="2" valign="top" align="left"',$startgrab+1); // need second one
$finish = strpos($html, '<hr><br>',$start);
Would need to see the HTML it is trying to parse.