My friend,
I got the same error. Do you know what I did? I went to the language file and after the php symbol "?>" I pressed delete until it becomes the last line of the file.
English is not my first language and I do not know if I am being clear. So that is what I did:
Before:
727
728 ?>
729
After:
727
728 ?>
Is is so simple and worked. Now my site is ok.