I resolved this issue by fixing my functions.php in my theme. I had several opening and closing PHP tags, and I think there may have been some whitespace outside of the PHP tags (there was also an HTML comment outside of them).
Try making sure its a single PHP block with no whitespace or other content outside of it.