This issue is worse then I though.
Received these error at the wp-login.php screen.
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-login.php on line 368
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-login.php on line 380
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 697
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 698
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 699
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 700
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 701
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 702
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 705
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 706
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 707
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 708
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 711
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 712
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 713
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 714
At these after logging in
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-login.php on line 368
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-login.php on line 380
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 680
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 681
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 682
Warning: Cannot modify header information - headers already sent by (output started at /home/content/53/10228053/html/wp-content/themes/responsive-child-theme/functions.php:16) in /home/content/53/10228053/html/wp-includes/pluggable.php on line 876
Solved, by removing spaces in functions.php
?>
<?php
to
?>
<?php
Thank you for posting this solution! I was having the same issue and this worked for me.
Thank you again. I had the same problem, also worked for me.
Thank you so much.
I had the same problem after I registered the sidebars in my child theme. I wasn’t able to update the theme options.
I didn’t delete those spaces though. I just took all my functions inside the tags <?php ?>. Without closing and opening them again.
you solved my problem and now I don’t have to commit a suicide 😀 THANKS
Had the same error. Simply removed the blank lines at the end of my functions.php file after the closing PHP tag inside of the theme directory. Was getting the error after I put a second install of WordPress inside my existing WordPress site.
Note: the error may occur again if you have a WordPress install inside of another wordpress site. Make sure you edit both the new themes functions.php file as well as the original themes functions.php file to avoid any more future complications/errors.
The error can also be caused by tags being in front of your opening PHP tag, inside of your functions.php file. Remove the tags or reorder them if possible. Remove everything before your opening PHP tag. Lines, spaces, characters, other tags.
Some plugins will also cause this error. This error can prevent you from logging into your wordpress site. I had to use FTP to download my functions.php. I would reccomend FileZilla. Cheers and happy coding!
got this problem as well after updating a function file in the functions subfolder of the Canvas template.
sorted deleting the blank space between php closing and new php opening tags..
the weird thing is that the file was on the server and it was running fine even with that blank line space, then I have downloaded it with ftp, updated in another line and uploaded. and suddenly wordpress realized about that blank space and crashed..
does anyone have an explanation for this? why before it was fine and then when I have updated the file suddenly that blank line caused the crash?
-Andrea