Title: duplicate headers -&gt; error
Last modified: August 18, 2016

---

# duplicate headers -> error

 *  [zeekjt](https://wordpress.org/support/users/zeekjt/)
 * (@zeekjt)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/duplicate-headers-gt-error/)
 * I found errors in my log files and I can’t track them down.
 * comm with server “/php5/php-fcgi-starter” aborted: error parsing headers: duplicate
   header ‘Status’
 * comm with server “/php5/php-fcgi-starter” aborted: error parsing headers: duplicate
   header ‘Status’, referer: /wp-admin/post.php
 * Same with /wp-admin/themes.php
    /wp-admin/themes.php?activated=true And one with
   a post permalink referer. I haven’t found anything similar to this anywhere else.
 * Anybody an idea?

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

 *  [ksaveras](https://wordpress.org/support/users/ksaveras/)
 * (@ksaveras)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/duplicate-headers-gt-error/#post-368176)
 * file: wp-includes/functions.php
    line: 746 comment line [@header](https://wordpress.org/support/users/header/)(“
   Status: $header $text”);
 * make it:
    //@header(“Status: $header $text”);
 * it works for me.
 *  [cheese500](https://wordpress.org/support/users/cduke250/)
 * (@cduke250)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/duplicate-headers-gt-error/#post-368180)
 * Good fix Ksaveras, it also worked for me. (using php5 on [dreamhost](http://www.dreamhost.com/r.cgi?211825)
   with fast-cgi)
 * `function status_header( $header ) {
    if ( 200 == $header ) $text = 'OK'; elseif(
   301 == $header ) $text = 'Moved Permanently'; elseif ( 302 == $header ) $text
   = 'Moved Temporarily'; elseif ( 304 == $header ) $text = 'Not Modified'; elseif(
   404 == $header ) $text = 'Not Found'; elseif ( 410 == $header ) $text = 'Gone';
   @header("HTTP/1.1 $header $text"); //@header("Status: $header $text"); }
 * The fix for me was on line 2232
 *  [cheese500](https://wordpress.org/support/users/cduke250/)
 * (@cduke250)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/duplicate-headers-gt-error/#post-368181)
 * Oh forgot to include the complete error (for those of you googling)
 * `FastCGI: comm with server "/home/user/example.com/cgi-bin/php5-wrapper.fcgi"
   aborted: error parsing headers: duplicate header 'Status', referer: http://www.
   example.com/wp-login.php`

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

The topic ‘duplicate headers -> error’ is closed to new replies.

## Tags

 * [headers](https://wordpress.org/support/topic-tag/headers/)
 * [log](https://wordpress.org/support/topic-tag/log/)
 * [referer](https://wordpress.org/support/topic-tag/referer/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [cheese500](https://wordpress.org/support/users/cduke250/)
 * Last activity: [19 years, 7 months ago](https://wordpress.org/support/topic/duplicate-headers-gt-error/#post-368181)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
