I Just had the same problem
Note: I previously modified my themes functions.php file by coping example code directly into the file.
The example code included the php open tag <?php and close tag ?>
everything worked ok until I had to do a restart.
I solved the problem by removing all php closing tags and all but the first opening php tag.
All the errors went away.