I’ve been fighting this problem all day, and luckily found it inside of one of my plugins wp-print. The issue is trailing line feeds after the ?> tag or space or linefeed before the <?php
In a few of the files in the plugin folder for wp-print, it seemed the php files were double spaced, so i removed the extra spaces and voila!