SAMPLE ERROR
in vhosts\mydomain.com\httpdocs\wp-login.php on line 1
Warning: Cannot modify header information -
headers already sent by (output started at vhosts\mydomain.com\httpdocs\wp-config.php:1)
in vhosts\mydomain.com\httpdocs\wp-login.php on line 354
Warning: Cannot modify header information -
headers already sent by (output started at vhosts\mydomain.com\httpdocs\wp-config.php:1)
in vhosts\mydomain.com\httpdocs\ar\wp-includes\pluggable.php
on line 671
Warning: Cannot modify header information -
headers already sent by (output started at vhosts\mydomain.com\httpdocs\wp-config.php:1)
in vhosts\mydomain.com\httpdocs\wp-includes\pluggable.php
on line 674
Warning: Cannot modify header information -
headers already sent by (output started at vhosts\mydomain.com\httpdocs\wp-config.php:1)
in vhosts\mydomain.com\httpdocs\wp-includes\pluggable.php
on line 675
Warning: Cannot modify header information -
headers already sent by (output started at vhosts\mydomain.com\httpdocs\wp-config.php:1)
in vhosts\mydomain.com\httpdocs\wp-includes\pluggable.php
on line 890
I looked for similar error that occured using wordpress in WordPress forum and found out that the solutions even provided didn’t help in getting the problem solved. I thought the cause might have resulted in one of the installed plugins, of which i removed a lot of plugins but it didn’t resolve the problem.
Then i read a topic in wordpress forum again about it being the <?php symbol at the beginning of the wp-login.php file having white space, when i checked mine, it had white space and after i removed it, it gave me another error.
SAMPLE ERROR
Warning: Cannot modify header information -
headers already sent by (output started at vhosts\mydomain.com\httpdocs\
wp-content\themes\yourWPTHEME\functions.php:1)
in vhosts\mydomain.com\httpdocs\wp-includes\pluggables.php
on line 674
Warning: Cannot modify header information -
headers already sent by (output started at
vhosts\mydomain.com\
wp-content\themes\yourWPTHEME\functions.php:1)
in vhosts\mydomain.com\httpdocs\wp-includes\pluggable.php
on line 675
Warning: Cannot modify header information -
headers already sent by (output started at
vhosts\mydomain.com\
wp-content\themes\yourWPTHEME\functions.php:1)
in vhosts\mydomain.com\httpdocs\wp-includes\pluggable.php
on line 891
This time, it had to do with the functions.php file in my Theme Folder. I fiddled around the error for a while then decided to deleted everything inside the functions.php file and upload an empty functions.php file with the php opening and closing tags inside.
When i did that, i was able to login, then i re-uploaded the original functions.php with all the function content inside the file back into my Theme’s Folder and the Login error was gone.