By "content straying" i mean something that isn't being read in; as it it looks fine i have no clue why you're receiving that error...
you could try over writing the file with a blank island, which is merely:
<?php
/* PHP CODE HERE */
/* BODY HERE */
$body = <<<EOF
EOF;
?>