This error is usually caused by having whitespace between php tags on that page. Make sure there is no whitespace between your php tags. Here is an example:
You'd want it to look like this:
Thanks for bringing that to our attention. We have logged a bug for this and this should be fixed in a future release.