• Ive been trying to fix this for hours! ive tried everything i really need help on this. =(! Everything i try to change something on my theme is says

    Warning: Cannot modify header information - headers already sent by (output started at /home/loboxd/public_html/wp-content/themes/Magazine-Channel/functions.php:3) in /home/loboxd/public_html/wp-content/themes/Magazine-Channel/functions.php on line 291

    And then when i upload something on the media it says

    Cannot modify header information - headers already sent by (output started at /home/loboxd/public_html/wp-content/themes/Magazine-Channel/functions.php:3) in /home/loboxd/public_html/wp-admin/async-upload.php on line 26
    9

    Basically everything i do it says theres an error on functions.php3
    I go to editor and open the functions.php and this is what i get as the code

    http://pastebin.com/BWzgSyQH

    Please someone take a look and PLEASE HELP ME!

Viewing 15 replies - 1 through 15 (of 15 total)
  • Make sure the functions.php file contains no blank spaces.

    Thread Starter loboxd

    (@loboxd)

    What do you mean no blank spaces? like inbetween each like there cant be a space? everything has to be bundled up?

    First, change this <?php add_custom_background() ?> to this <?php add_custom_background(); ?> (added semi-colon).

    If that doesn’t work, change it to add_custom_background(); (removing the PHP tags) and move it to the VERY END of your functions file. Right below add_action('admin_menu', 'mytheme_add_admin'); Also remove the ?> on the last line of the file.

    Thread Starter loboxd

    (@loboxd)

    When i did both of those changes i got another error

    Warning: Cannot modify header information - headers already sent by (output started at /home/loboxd/public_html/wp-content/themes/Magazine-Channel/functions.php:3) in /home/loboxd/public_html/wp-admin/theme-editor.php on line 99

    seems like the line 3 on functions.php is still messing things up

    Thread Starter loboxd

    (@loboxd)

    i have tried that and it didnt work for me

    Try switching to the Twenty Eleven theme by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    Thread Starter loboxd

    (@loboxd)

    wow thats really complicated man i have no idea how to do that. Is there any other fix? Like a fix in the function.php?

    It’s not complicated at all.

    Thread Starter loboxd

    (@loboxd)

    Do i do this through cPanel? Can you provide a little more detail on how to do this?

    Yes – you can do this via the File Manager in cPanel.

    Hey loboxd,

    As dfwgreg said above, the functions.php might have a blank line at the top or bottom and it causes the issue.

    Check the functions.php and remove any blank lines at the top and bottom.

    Thread Starter loboxd

    (@loboxd)

    Alright i was able to do the rename thing through FIle Manager in cPanel but i still didnt get any results =(! still says this

    Warning: Cannot modify header information – headers already sent by (output started at /home/loboxd/public_html/wp-content/themes/twentyten-old/functions.php:3) in /home/loboxd/public_html/wp-content/themes/twentyten-old/functions.php on line 291

    Hey loboxd,

    Did you try checking the functions.php if there’s any blank space?

    Re-upload a fresh copy of the Twenty Eleven theme via FTP or the File Manager.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘PLEASE HELP! Cannot modify header information’ is closed to new replies.