Cannot Modify Headers

Most often this error message occurs due to the white space (spaces or new lines) before the starting tag of php (?<php) begins in typically in files such as functions.php, wp-config.php and other plugin files.

Solution

The error message normally indicates the file name from where you can begin diagnosing. If there is an empty space or an extra line before php tag starts, remove that empty space or extra line and reload the website.