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

---

# Cannot modify header information

 *  [Piero Verona](https://wordpress.org/support/users/piero-verona/)
 * (@piero-verona)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/)
 * Hi, I am using wordpress 3.6.1, the delicate theme. every time that I try to 
   upload an image for the header it shows this writng below, and I cannot do it
   at all:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /htdocs/public/www/wp-content/themes/delicate/functions.php:26) in /htdocs/
   public/www/wp-includes/pluggable.php on line 875
 * How can i fix it?
 * Thank you for your attention!!
 * Piero

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

1 [2](https://wordpress.org/support/topic/cannot-modify-header-information-90/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cannot-modify-header-information-90/page/2/?output_format=md)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5245928)
 * You have unexpected whitespace (either a space or an entire line) on line 26 
   of the `/wp-content/themes/delicate/functions.php` file. See [this guide](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
   for more info.
 * Alternatively, replacing the file with one from a fresh download may resolve 
   the issue.
 *  Thread Starter [Piero Verona](https://wordpress.org/support/users/piero-verona/)
 * (@piero-verona)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246059)
 * Hey MacManx, thank you a lot, it actually worked!
 * Just another question: I cannot open or see some pages of the website; every 
   time that i try it appears this writing
 * Not Found
 * The requested URL /riso-testa-novara-visite-cascina-e-degustazioni was not found
   on this server.
 * Do you have an idea what the cause might be?
 * Thank you a lot!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246062)
 * Try re-saving your permalink structure at Settings/Permalinks in your admin panel.
   If WordPress cannot automatically edit the `.htaccess` file, it will provide 
   manual instructions after saving.
 *  Thread Starter [Piero Verona](https://wordpress.org/support/users/piero-verona/)
 * (@piero-verona)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246160)
 * Thank you MacManx!
    I did it, and now I can see the pages but it appears this
   writing: _Warning: mysql\_real\_escape\_string() expects parameter 1 to be string,
   object given in /htdocs/public/www/wp-includes/wp-db.php on line 880_ What does
   it mean?
 * Two last questions (I am sorry to bother you this way)!
    1) I am using the plugin
   wordpress seo by yoast. My website is in Italian and in English (I’m using the
   q Translate plug-in). Do you know wether there is any chance to optimise it in
   both languages? 2) All the menu voices are _pages_ except a _the blog page _(
   which is a category). Is there any chance to get them to work all the same?
 * Thank you a lot!!!!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246161)
 * Where does that error appear at?
 * As for the other questions:
 * 1. You’d need to ask over at [http://wordpress.org/support/plugin/wordpress-seo](http://wordpress.org/support/plugin/wordpress-seo)
 * 2. Sure, you can build your own menu at Appearance -> Menus in your blog’s Dashboard.
 *  Thread Starter [Piero Verona](https://wordpress.org/support/users/piero-verona/)
 * (@piero-verona)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246170)
 * Thank you MacManx.
    It appears at the beginning of the page for the “blog page”(
   whic is a category), while for all the other pages it appear above the menu bar.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246179)
 * What is the URL of your site?
 *  Thread Starter [Piero Verona](https://wordpress.org/support/users/piero-verona/)
 * (@piero-verona)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246181)
 * The URL is [http://www.risotesta.it/](http://www.risotesta.it/), but unfortunately
   you can only see the old version of the website (which I did using dreamweaver),
   while the new one in not on-line yet. If you want I can send you a screenshot.
 * Anyway, I tried to change the permalink settings using the “default” option, 
   and in that case it works (but of course I would like the permaling to have the
   same name of the page) what should i do?
 * Yes I build my own menu, but the thing is that, The Category of the menu doesn’t
   work like the others voices of the menu (which are pages). I mean the navigation
   link color and the navigation hover color are the same but when you click on 
   it the color is different. I have to say that I modified the css of the menu 
   using firebug, and it worked for the pages but not for the category (I cannot
   modify the color of the voice of the menu when you click on it).
    Thank you a
   lot!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246184)
 * For the permalinks, ask your hosting provider if mod_rewrite is installed and
   active on your server.
 * As for the CSS, I’ll definitely need to actually see the site to be of any help
   there.
 *  Thread Starter [Piero Verona](https://wordpress.org/support/users/piero-verona/)
 * (@piero-verona)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246185)
 * Ok I will. As for the CSS I’ll get back to you soon as the website will be on-
   line.
 * One last thing: I have tried several of the gallery options and can’t get the
   images to appear as thumbnails where the width and length are the same size in
   each image for a uniform look.
    Do you know what should I do? I don’t know why
   but some of the thumbnails are the same size (even though the original pictures
   don’t are the same size), and some others are not!
 * Thank you a lot!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246186)
 * Are you using Jetpack? If so, make sure the mosaic option isn’t checked at Settings-
   > Media.
 *  Thread Starter [Piero Verona](https://wordpress.org/support/users/piero-verona/)
 * (@piero-verona)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246189)
 * Hey MacManx, thank you, I have just uploaded the plugin Jetpack, but it looks
   like my web host doesn’t support it. Anyway I’ll double check with them and I’ll
   let you know. Menawhile do you know wether there is any other options? thank 
   you a lot!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246202)
 * Can you give us a link to a page with a broken gallery?
 *  Thread Starter [Piero Verona](https://wordpress.org/support/users/piero-verona/)
 * (@piero-verona)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246205)
 * Thank you MacManx, the website will be soon on-line, then I’ll give you the link!
   cheers!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/#post-5246206)
 * Thanks, just let us know when it’s ready. 🙂

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

1 [2](https://wordpress.org/support/topic/cannot-modify-header-information-90/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cannot-modify-header-information-90/page/2/?output_format=md)

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

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [delicate theme](https://wordpress.org/support/topic-tag/delicate-theme/)
 * [header information](https://wordpress.org/support/topic-tag/header-information/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 29 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-90/page/2/#post-5246265)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
