Title: Cannot modify header &#8211; premium theme issue
Last modified: August 20, 2016

---

# Cannot modify header – premium theme issue

 *  Resolved [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/)
 * Hi,
    I bought a premium theme and whenever i turn it on and click any new page
   or post or log back in i am faced with blank page. i looked into error_log and
   it says
 * PHP Warning: Cannot modify header information – headers already sent by (output
   started at /home2/theartsr/public_html/wp-content/themes/unspoken/core/theme_options.
   php:1) in /home2/theartsr/public_html/wp-content/themes/unspoken/functions.php
   on line 19
 * i tried to disable all plugins but nothing happens. can anyone help

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

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

 *  [luckdragon](https://wordpress.org/support/users/luckdragon/)
 * (@luckdragon)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791319)
 * it looks like there is a blank line before the first line of theme_options.php
   <? just remove the blank line
 *  Thread Starter [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791320)
 * i saw the file theme_option but it doesn’t have space before but after like
    
   <?php
 * // Admin styles & scripts
 * I don’t think it will do anything. but i tried removing it. but it wouldn’t work
 * Edit: the line 19 on functions is
    `if (!isset($_COOKIE['mode'])) setcookie('
   mode', ( get_option('unspoken_view_type') == '0' ) ? 'list' : 'grid', time() 
   + 60 * 60 * 24 * 30, COOKIEPATH, COOKIE_DOMAIN, false);` Also i have noticed 
   that everytime i do /wp-login , it ask me for my password.instead shouldn’t it
   be remembering my login until the cookie times expire?
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791325)
 * These forums are for either WordPress core or free themes; for premium themes,
   go to the developer’s website for support and/or a new download.
 * “headers already sent” errors seldom refer to relevant lines of code; the issue
   can be most anywhere.
 *  Thread Starter [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791327)
 * songdogtech i know premium themes have dedicated forums but i don’t have a registration
   plus they aren’t as fast as WP. i was hoping to get answers from here.which might
   help
 *  Thread Starter [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791329)
 * I tried installing theme on my local site and it worked but not on server site.
 *  [luckdragon](https://wordpress.org/support/users/luckdragon/)
 * (@luckdragon)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791332)
 * it says: headers already sent by (output started at /home2/theartsr/public_html/
   wp-content/themes/unspoken/core/theme_options.php:1)
 * which tells me that line 1 of that file has something on it, since that’s where
   it’s saying that the headers were started.
 *  Thread Starter [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791334)
 * so meaning there is a space before <?php and which files should i watching out
   for?
 *  [luckdragon](https://wordpress.org/support/users/luckdragon/)
 * (@luckdragon)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791335)
 * it tells you:
 * /home2/theartsr/public_html/wp-content/themes/unspoken/core/theme_options.php
 *  Thread Starter [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791340)
 * yes saw that one the line starts with <?php without any blank spaces.
 *  Thread Starter [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791345)
 * besides, if there was a problem of theme. it wouldn’t work on my local machine
   but on server its not.
 * _[ Please do not bump, it’s [not permitted here](http://codex.wordpress.org/Forum_Welcome#No_Bumping).]_
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791447)
 * [@emaarkhan](https://wordpress.org/support/users/emaarkhan/) said
 * > but i don’t have a registration….
 * What does that mean?
 *  Thread Starter [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791492)
 * Well i tried there forums but no success. so i m guessing its not theme fault.
   something to do with WP because on my localhost its working but on live site.
   it doesn’t when activated.
 *  Thread Starter [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791508)
 * Can be the version number be a issue? i checked on the server its running php
   5.2.17 and on local i m running 5.3.8.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791512)
 * See [http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 * Recreate your `wp-config.php` file from wp-config-sample.php` (make a copy first).
 *  Thread Starter [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/#post-2791513)
 * Wouldn’t it overwrite my database even if i give the same DB name? and everything
   in it.

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

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

The topic ‘Cannot modify header – premium theme issue’ is closed to new replies.

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [premium](https://wordpress.org/support/topic-tag/premium/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 17 replies
 * 4 participants
 * Last reply from: [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/cannot-modify-header-premium-theme-issue/page/2/#post-2791517)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
