I just wanted to add, I had the same problem when I did an upgrade, so I did what Samboll suggested above, but the theme file was fine. After I narrowed it down to one guilty plugin, I checked the main php file fore it and sure enough, there was an extra line break in it. I removed it and voila! So if a particular plugin is causing this error, try that. 🙂