Title: Cannot modify header information warning
Last modified: August 22, 2016

---

# Cannot modify header information warning

 *  [Bloogooroo](https://wordpress.org/support/users/bloogooroo/)
 * (@bloogooroo)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-warning-3/)
 * I read that I simply have to remove white space at the offending line when I 
   get this message: Warning: Cannot modify header information – headers already
   sent by (output started at /home/content/67/5962867/html/wp-content/themes/lupercalia/
   functions.php:892) in /home/content/67/5962867/html/wp-includes/pluggable.php
   on line 1121
 * I couldn’t figure it out and it wouldn’t let me upload pictures, access my media
   libary, or even log in, so I changed back to my old theme and then back to this
   one. I still can’t load media and now have about twenty of those error messages,
   although I can at least log in and out of my admin page.

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

 *  Theme Author [José Leonardo](https://wordpress.org/support/users/joseleonardo/)
 * (@joseleonardo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-warning-3/#post-5201193)
 * Hey there,
 * you are the second person talking about this error. It was not happening before,
   so I think it is related with the newer WordPress version.
 * Can you confirm if you updated your WordPress recently?
 *  Theme Author [José Leonardo](https://wordpress.org/support/users/joseleonardo/)
 * (@joseleonardo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-warning-3/#post-5201194)
 * This girl seems to have solved the problem.
 * [http://wordpress.org/support/topic/receiving-header-error-help?replies=4#post-5919752](http://wordpress.org/support/topic/receiving-header-error-help?replies=4#post-5919752)
 * It is not related with the theme, I think it is related to the newer WordPress
   as I mentioned before.
 *  Thread Starter [Bloogooroo](https://wordpress.org/support/users/bloogooroo/)
 * (@bloogooroo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-warning-3/#post-5201227)
 * Thanks, that solution worked, but I still get errors cropping pictures for the
   header, and the slider native to the theme won’t show up (my site is blog.thegreciangarden.
   com). I tried making a new home and blog page, but that didn’t seem to make a
   difference as I still don’t see a slider. Changing the settings in theme options
   and going with a static page didn’t seem to matter either. I could just have 
   a bug as recent post sliders on my old theme would never work.
 *  Theme Author [José Leonardo](https://wordpress.org/support/users/joseleonardo/)
 * (@joseleonardo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-warning-3/#post-5201229)
 * Bloogooroo,
 * can you be more specific about the error? Could please post the message you are
   receiving when you try to upload a new header?
 * Thank you!
 *  Thread Starter [Bloogooroo](https://wordpress.org/support/users/bloogooroo/)
 * (@bloogooroo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-warning-3/#post-5201230)
 * Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image
   dimensions in /home/content/67/5962867/html/wp-includes/media.php on line 1987
 * Warning: imageantialias(): supplied argument is not a valid Image resource in/
   home/content/67/5962867/html/wp-includes/class-wp-image-editor-gd.php on line
   282
 * Warning: imagecopyresampled(): supplied argument is not a valid Image resource
   in /home/content/67/5962867/html/wp-includes/class-wp-image-editor-gd.php on 
   line 284
    Image could not be processed. Please go back and try again.
 * It will work if I skip cropping. I don’t want a header though, just a slider.
   The problem might be that I got rid of the home page, but now I put one back 
   on and it still doesn’t work.
 *  Theme Author [José Leonardo](https://wordpress.org/support/users/joseleonardo/)
 * (@joseleonardo)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-warning-3/#post-5201231)
 * I found it
 * [http://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme?replies=12](http://wordpress.org/support/topic/upload-image-error-when-using-work-a-holic-theme?replies=12)
 * It is wark to know if it is related with the theme, it was working fine before.
   I am still looking for a anwser.

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

The topic ‘Cannot modify header information warning’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/lupercalia/1.5/screenshot.png)
 * Lupercalia
 * [Support Threads](https://wordpress.org/support/theme/lupercalia/)
 * [Active Topics](https://wordpress.org/support/theme/lupercalia/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/lupercalia/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/lupercalia/reviews/)

## Tags

 * [modify header](https://wordpress.org/support/topic-tag/modify-header/)

 * 6 replies
 * 2 participants
 * Last reply from: [José Leonardo](https://wordpress.org/support/users/joseleonardo/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-warning-3/#post-5201231)
 * Status: not resolved