This means you need to edit your theme's functions. php file and change or remove the code causing this error. Sometimes the headers already sent error is caused by an extra space after closing the php ?> tag, so you can just remove that, and it will fix the issue.