• Resolved theplastickid

    (@theplastickid)


    Hi I am getting an error message when I try to go to the admin login screen on my site /wp-admin.

    The error message is as follows:

    Warning: Cannot modify header information – headers already sent by (output started at /home/brettgo/public_html/wp-content/themes/yellowtheme/functions.php:57) in /home/brettgo/public_html/wp-includes/pluggable.php on line 897

    I think it may be a problem with my functions.php file. Here is the code I am using in the file:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please use Pastebin for blocks of code longer than about 10 lines.

    Which is line 57?

    (I suspect your issue is whitespace after the closing PHP tag (i.e. the final ?>). Make sure there are no spaces or line breaks after this tag. And if that doesn’t work, just remove the tag entirely.)

    Thread Starter theplastickid

    (@theplastickid)

    Thanks I removed the white space and it works great!

    Thank you, i had the same problem.. space after the ” ?>” closing <?php

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error with functions file’ is closed to new replies.