ERROR: Cookies are blocked due to unexpected output

The error shows: PHP Warning: Cannot modify header information – headers already sent

1)Open up wp-config.php file.
2)Look for sign at the end of the file, it there is any, you will need to remove any empty space after it.
3)If you cannot find any ?> sign at the end of the file, you will not need to do anything. Just to play safe, you can remove empty lines.
4)If your error points to functions.php, you can carry out the same procedure.

Leave a Comment

Your email address will not be published. Required fields are marked *