Support » Fixing WordPress » “Cannot modify header information – headers already sent” – REALLY need help :(

  • Resolved rfloxhea1

    (@rfloxhea1)


    Dear fellow WordPress users,

    I am on a tight schedule and with a trouble I cannot get rid of, not even after days of trying. I am in dire need of some help and I am hoping that there is someone here with knowledge about the subject who can offer me such.

    I am getting the error message mentioned in the topic title and I have explored every last troubleshoot topic I could find to no avail.

    The error messages:
    Warning: Cannot modify header information – headers already sent by (output started at /home/pastoorbv.nl/public_html/redesign/wp-content/themes/agama/includes/agama-functions.php:1) in /home/pastoorbv.nl/public_html/redesign/wp-login.php on line 394

    Warning: Cannot modify header information – headers already sent by (output started at /home/pastoorbv.nl/public_html/redesign/wp-content/themes/agama/includes/agama-functions.php:1) in /home/pastoorbv.nl/public_html/redesign/wp-login.php on line 407

    This problems prevents me from being able to log in. Upon trying to do so it will bestow upon me the following additional warnings:

    Additional messages after trying to login
    Warning: Cannot modify header information – headers already sent by (output started at /home/pastoorbv.nl/public_html/redesign/wp-content/themes/agama/includes/agama-functions.php:1) in /home/pastoorbv.nl/public_html/redesign/wp-includes/pluggable.php on line 893

    Warning: Cannot modify header information – headers already sent by (output started at /home/pastoorbv.nl/public_html/redesign/wp-content/themes/agama/includes/agama-functions.php:1) in /home/pastoorbv.nl/public_html/redesign/wp-includes/pluggable.php on line 894

    Warning: Cannot modify header information – headers already sent by (output started at /home/pastoorbv.nl/public_html/redesign/wp-content/themes/agama/includes/agama-functions.php:1) in /home/pastoorbv.nl/public_html/redesign/wp-includes/pluggable.php on line 895

    I understand that this means that the error should be in the first line of the “agama-functions.php:1” file, unless I am somehow already wrong there, and that it could be empty characters and such. I have perfected this file many times and there is nothing wrong anywhere, but the message remains the same. I have downloaded and installed a completely fresh agama-functions.php file, but the message remains the same. I have checked every file that came up, for that matter.

    Even in the additional messages, where it is suddenly about “pluggable.php”, the source of the problem is to be in line 1 of agama-functions.php. I find it hard to believe there is something wrong with “wp-login.php” or the pluggable.php…

    I just don’t know what to do anymore. I desperately seek your help.

    Cheers…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rfloxhea1

    (@rfloxhea1)

    I would almost forget to add!

    My address: redesign.pastoorbv.nl

    As soon as this started, before I was logged out and couldn’t log in anymore, I noticed that there started to be something strangely wrong with my custom css as well.

    I am using this plugin: https://wordpress.org/plugins/custom-css-and-javascript/installation/

    While my custom css was still there and still in effect, the editor was completely empty. I couldn’t find my custom css anywhere. I could type in it, starting on line 1 again, but my previous code is gone – while it really isn’t, because it still works and is still in the source code.

    Perhaps it is related to this problem, but it could be something else entirely.

    Moderator t-p

    (@t-p)

    Your theme “agama” seems to be the error.

    Try switching to the unedited default Theme (Twenty Sixteen.) using FTP/ SFTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required).

    Thread Starter rfloxhea1

    (@rfloxhea1)

    I can’t believe that was all I had to do, but I wouldn’t have done it without your tip, t-p. It helped! Thank you so very much!

    Moderator t-p

    (@t-p)

    You are very welcome:)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Cannot modify header information – headers already sent” – REALLY need help :(’ is closed to new replies.