Title: Pluggable.php Header Errors
Last modified: August 22, 2016

---

# Pluggable.php Header Errors

 *  Resolved [ronnockoch](https://wordpress.org/support/users/ronnockoch/)
 * (@ronnockoch)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/pluggablephp-header-errors/)
 * Hi there!
 * I’m getting an error in pluggable.php on line 1178 when submitting a contact 
   form. (The built in Feedback / Contact Form through WordPress Admin Panel)
    `
   header("Location: $location", true, $status);`
 * I commented out the above line like so
    `//header("Location: $location", true,
   $status);`
 * I now no longer get an error, but I don’t get redirected.
    I’m assuming it’s 
   cause of the commented out section, but was wondering if anyone had any insight
   on how I could fix it, or what the solution is.
 * Thanks in advanced

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/pluggablephp-header-errors/#post-5864074)
 * Try deactivating all plugins. If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, try switching to the Twenty Fifteen theme
   to rule-out a theme-specific issue (theme functions can interfere like plugins).
 * If neither of those work, would you please quote the full error?
 *  Thread Starter [ronnockoch](https://wordpress.org/support/users/ronnockoch/)
 * (@ronnockoch)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/pluggablephp-header-errors/#post-5864083)
 * Hi James.
 * Seems like there is no “default” feedback / Contact Form. That’s on me.
 * I disabled everything, and routed the problem down to the Jetpack plugin v. 3.3.2.
 * The error I still get is the following.
 * `Warning: Cannot modify header information - headers already sent by (output 
   started at /home2/USER/public_html/blog/index.php:2) in /home2/USER/public_html/
   blog/wp-includes/pluggable.php on line 1178`
 * Line 1178 of pluggable.php is
 * `header("Location: $location", true, $status);`
 * Changing the theme to Twenty Fifteen does not solve the error.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/pluggablephp-header-errors/#post-5864095)
 * Actually, that means you have unexpected whitespace (either a space or an entire
   line) on line 2 of the `index.php` file. See [this guide](https://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 [ronnockoch](https://wordpress.org/support/users/ronnockoch/)
 * (@ronnockoch)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/pluggablephp-header-errors/#post-5864101)
 * Hi James,
 * That seemed to of worked.
    The index.php had a blank line at the top of it.
 * Could this be a problem with this version of WP? or just an isolated incident.
 * Thanks again!!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/pluggablephp-header-errors/#post-5864102)
 * Just an isolated incident, otherwise we’d have over 23 million reports of it.
   😉
 * [https://wordpress.org/download/counter/](https://wordpress.org/download/counter/)

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

The topic ‘Pluggable.php Header Errors’ is closed to new replies.

## Tags

 * [Coding](https://wordpress.org/support/topic-tag/coding/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [pluggable.php](https://wordpress.org/support/topic-tag/pluggable-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/pluggablephp-header-errors/#post-5864102)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
