“Headers already sent” means that some code tried to set a HTTP header (eg. to set a cookie), but that PHP already sent content that will end up in the HTML page. The most likely cause is that you added extra newlines after the ?>
closing tag when you edited config.php
or functions.php
.
The simple solution it to just remove the closing ?>
in these files – it is not required anyway.