No file, but there was a missing PHP tag which meant the Order Status query was failing. To fix change line 82 to