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

---

# Cannot modify header information

 *  Resolved [pdxchambers](https://wordpress.org/support/users/pdxchambers/)
 * (@pdxchambers)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-116/)
 * My WordPress site is suddenly throwing the following error in the admin panel:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home2/pdxchamb/public_html/wp-content/themes/PDXChambers2016/functions.php:
   236) in /home2/pdxchamb/public_html/wp-includes/pluggable.php on line 1228
 * I tried to do my due diligence and found several prior posts and even an FAQ 
   page with a potential solution, however even after following the instructions
   given (making sure there’s no whitespace at the end of the file, UTF-8 encoding,
   etc) I’m still getting the error. I even went as far as to remove all plugins
   from my site thinking it must be a bad plugin update that is causing the problem,
   but so far nothing has worked. It did work in the past, which is why I’m confused
   as to what the issue could be. So I thought I’d see what the community has to
   say.
 * Here’s a pastebin of my functions.php, I’m just not seeing the problem.. perhaps
   a fresh pair of eyes will help…
 * [http://pastebin.com/bfw6PTx6](http://pastebin.com/bfw6PTx6)

Viewing 1 replies (of 1 total)

 *  Thread Starter [pdxchambers](https://wordpress.org/support/users/pdxchambers/)
 * (@pdxchambers)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-116/#post-6948075)
 * So I think I figured it out. I removed the final `?>` tag from the code and when
   that didn’t work I decided to clean up the code a bit by minimizing the number
   of `<?php ?>` blocks. I ended up removing one `?> <?php` combination at, you 
   guessed it, line 236. That appears to have done the trick… all is well now.

Viewing 1 replies (of 1 total)

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

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [pdxchambers](https://wordpress.org/support/users/pdxchambers/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/cannot-modify-header-information-116/#post-6948075)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
