ob_start causing errors in logs