cstasiuk
Member
Posted 1 year ago #
Hi, I have had my website on wordpress for about 5 monthes now with no issues when just the other day when I tried to view my site this error message comes up:
Warning: Cannot modify header information - headers already sent by (output started at /home1/signaty4/public_html/index.php(1) : eval()'d code:37) in /home1/signaty4/public_html/wp-includes/pluggable.php on line 897
When I go into admin, and I update wordpress it goes away for about an hour and the site works, but then it always goes back to that error. Can someone help?
Chris
kmessinger
Member
Posted 1 year ago #
"Headers already sent" error is often caused by having white space before or after the opening and closing PHP tags (<?php . . . ?>).
Check any files you may have opened recently and check index.php(1).
cstasiuk
Member
Posted 1 year ago #
What exactly should I be checking for? Sry, I'm brand new to playing with code.
Thanks,
Chris
kmessinger
Member
Posted 1 year ago #
You are looking for a space before <?phpand or after ?>
Look at the file index.php(1) and any other file you may have opened recently