Title: Cannot modify header error – accessing wp.admin
Last modified: January 3, 2017

---

# Cannot modify header error – accessing wp.admin

 *  [S Sen](https://wordpress.org/support/users/developersend/)
 * (@developersend)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/)
 * [02-Jan-2017 18:07:19 UTC] PHP Warning: Cannot modify header information – headers
   already sent by (output started at /home/chiphoss/public_html/blog/wp-config.
   php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 932
   [
   02-Jan-2017 18:07:19 UTC] PHP Warning: Cannot modify header information – headers
   already sent by (output started at /home/chiphoss/public_html/blog/wp-config.
   php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 893[
   02-Jan-2017 18:07:19 UTC] PHP Warning: Cannot modify header information – headers
   already sent by (output started at /home/chiphoss/public_html/blog/wp-config.
   php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 894[
   02-Jan-2017 18:07:19 UTC] PHP Warning: Cannot modify header information – headers
   already sent by (output started at /home/chiphoss/public_html/blog/wp-config.
   php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 895[
   02-Jan-2017 18:07:19 UTC] PHP Warning: Cannot modify header information – headers
   already sent by (output started at /home/chiphoss/public_html/blog/wp-config.
   php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179[
   02-Jan-2017 21:35:58 UTC] PHP Warning: Cannot modify header information – headers
   already sent by (output started at /home/chiphoss/public_html/blog/wp-config.
   php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179[
   02-Jan-2017 21:37:07 UTC] PHP Warning: Cannot modify header information – headers
   already sent by (output started at /home/chiphoss/public_html/blog/wp-config.
   php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179[
   02-Jan-2017 21:37:25 UTC] PHP Warning: Cannot modify header information – headers
   already sent by (output started at /home/chiphoss/public_html/blog/wp-config.
   php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179[
   02-Jan-2017 21:38:15 UTC] PHP Warning: Cannot modify header information – headers
   already sent by (output started at /home/chiphoss/public_html/blog/wp-config.
   php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179[
   03-Jan-2017 02:07:37 UTC] PHP Warning: Cannot modify header information – headers
   already sent by (output started at /home/chiphoss/public_html/blog/wp-config.
   php:1) in /home/chiphoss/public_html/blog/wp-includes/feed-rss2-comments.php 
   on line 8 [03-Jan-2017 03:13:49 UTC] PHP Warning: Cannot modify header information–
   headers already sent by (output started at /home/chiphoss/public_html/blog/wp-
   config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on
   line 1179 [03-Jan-2017 03:13:53 UTC] PHP Warning: Cannot modify header information–
   headers already sent by (output started at /home/chiphoss/public_html/blog/wp-
   config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on
   line 1179
 * How to solve this problem ? I am can’t access wp-admin.

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

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-8615255)
 * You have unexpected whitespace (either a space or an entire line) on line 1 of
   the wp-config.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 by building a new one from wp-config-sample.
   php via a fresh download of WordPress will work too.
 *  [nevillemerritt](https://wordpress.org/support/users/nevillemerritt/)
 * (@nevillemerritt)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-8621055)
 * I have just experienced the same problem. None of the files referred to in the
   error messages had been changed between the site working then not working. However,
   I had added the bbPress plugin and it was that which had caused the conflict.
   By changing the directory name for bbPress, it was no longer recognised by WordPress
   so I was able to login again and uninstall it. I had previously installed N-Media
   WP Member Registration plugin and I think that is where the conflict occurred
   because bbPress is working fine on my other site. Hope that helps.
 *  [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [9 years ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9137409)
 * Hi there,
 * this problem is mostly due to spaces in php files. Make sure you don’t have any
   spaces before and after php tags.
 * Secondly also make sure WP_DEBGU is set to false.
 * I hope it helps.
 *  [twdewitt](https://wordpress.org/support/users/twdewitt/)
 * (@twdewitt)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9192288)
 * Hello, I am getting this message when trying to access website:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home4/twdewitt/fitnessandhealthgenie.com/wp-content/themes/idoneita/about.
   php:9) in /home4/twdewitt/fitnessandhealthgenie.com/wp-includes/pluggable.php
   on line 1195
 *  [Deepak Singla](https://wordpress.org/support/users/deepak14/)
 * (@deepak14)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9255019)
 * Hello,
    The following are the causes behind this warning: 1. Page body content
   sent before the Header. 2. Unparsed HTML before the Header. 3. Extra spaces or
   lines before <?php or after a closing?> php tag. 4. Incorrect PHP Encoding Format.
 * [link redacted]
    -  This reply was modified 8 years, 11 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  [vikkycabrera](https://wordpress.org/support/users/vikkycabrera/)
 * (@vikkycabrera)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9334226)
 * I would appreciate some help. I am not a coder, though I can understand the most
   basic html, and really pre-school level php.
    I tried to access my site admin
   but can’t. Instead I get this message on an otherwise blank screen. “Warning:
   Cannot modify header information – headers already sent by (output started at/
   home/intownp/public_html/wp-content/plugins/easy-facebook-likebox/includes/easy-
   custom-facebook-feed-widget.php:3) in /home/intownp/public_html/wp-includes/pluggable.
   php on line 1210”
 * Before this happened and before I turned my computer off for the night, I had
   updated 2 or three plugins, based on notifications. I am not sure now which ones
   I updated, except for Mobiloud News, and Facebook Likebox, I think.
 * I’ve updated plugins as often as I am notified, and have never had this problem
   before. Now I cannot work on updating my posts and listing. Can anyone help me
   with this please? My site is intownproperties.ph, and I cannot access the admin
   page when I type in intownproperties.ph/wp-admin.
 * I read the previous message, which is somewhat Greek to me. In any case, those
   are the causes, but how can they be solved?
 * Thank you so much for your help.
    Vikky
 *  [myquirkysoul](https://wordpress.org/support/users/myquirkysoul/)
 * (@myquirkysoul)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9339896)
 * Hi – I’m having the same problem. How to fix please?
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home1/myquirk3/public_html/wp-content/plugins/easy-facebook-likebox/includes/
   easy-custom-facebook-feed-widget.php:3) in /home1/myquirk3/public_html/wp-includes/
   pluggable.php on line 1210
 *  [vikkycabrera](https://wordpress.org/support/users/vikkycabrera/)
 * (@vikkycabrera)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9353847)
 * This is what the section says from lines 1201 to 1229 of pluggable.php (The line
   numbers don’t seem to be aligned to the code.)
 * * [@since](https://wordpress.org/support/users/since/) 4.2.0
    * [@access](https://wordpress.org/support/users/access/)
   private * * [@see](https://wordpress.org/support/users/see/) wp_sanitize_redirect()**
   [@param](https://wordpress.org/support/users/param/) array $matches RegEx matches
   against the redirect location. * [@return](https://wordpress.org/support/users/return/)
   string URL-encoded version of the first RegEx match. */ function _wp_sanitize_utf8_in_redirect(
   $matches ) { return urlencode( $matches[0] ); } endif;
 * if ( !function_exists(‘wp_safe_redirect’) ) :
    /** * Performs a safe (local) 
   redirect, using wp_redirect(). * * Checks whether the $location is using an allowed
   host, if it has an absolute * path. A plugin can therefore set or remove allowed
   host(s) to or from the * list. * * If the host is not allowed, then the redirect
   defaults to wp-admin on the siteurl * instead. This prevents malicious redirects
   which redirect to another host, * but only used in a few places. * * [@since](https://wordpress.org/support/users/since/)
   2.3.0 * * [@param](https://wordpress.org/support/users/param/) string $location
   The path to redirect to. * [@param](https://wordpress.org/support/users/param/)
   int $status Status code to use. */
 *  [artex222](https://wordpress.org/support/users/artex222/)
 * (@artex222)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9387394)
 * I can’t get into my site at all. After ….com/wp-admin I am getting blank page
   with this:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home1/artexglo/public_html/midmacor.com/wp-content/plugins/easy-facebook-
   likebox/includes/easy-custom-facebook-feed-widget.php:3) in /home1/artexglo/public_html/
   midmacor.com/wp-includes/pluggable.php on line 1210
 * so I cannot make any adjustments at all.
 *  [shadow_mal](https://wordpress.org/support/users/shadow_mal/)
 * (@shadow_mal)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9458310)
 * Check wp-load.php and delete all white spaces or blank lines appear before <?
   php tag.
 *  [slappyintheface](https://wordpress.org/support/users/slappyintheface/)
 * (@slappyintheface)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9458622)
 * Where is the wp-load.php file located? I’m in Editor and don’t see it. I’m getting
   the same header error.
 *  [Pat Racco](https://wordpress.org/support/users/patedge/)
 * (@patedge)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9465493)
 * Open the wp-load.php file with EDITOR (it’s located straight under public_html
   folder). You will see a big white space between line one and the first <php tag.
   All you need to do is remove all that white space. It will work.
    Pat
 *  [vijay12345](https://wordpress.org/support/users/vijay12345/)
 * (@vijay12345)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9499713)
 * i have the following error and cant able to login to admin page.
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/domain-name/public_html/wp-content/plugins/wp-google-map-plugin/wpgmp-
   all-js.php:1) in /home/domainame/public_html/wp-login.php on line 414
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/domain-name/public_html/wp-content/plugins/wp-google-map-plugin/wpgmp-
   all-js.php:1) in /home/domainame/public_html/wp-login.php on line 426
 *  [angelotdai](https://wordpress.org/support/users/angelotdai/)
 * (@angelotdai)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9512139)
 * tenho o mesmo problema eu acho
 * snippets plugin /wp-includes/pluggable.php on line 1210
 * header(“Location: $location”, true, $status);
    (essa é a linha 1210)
 *  [Dinno](https://wordpress.org/support/users/dinno/)
 * (@dinno)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/#post-9514906)
 * I get this warning:
    Cannot modify header information – headers already sent 
   by (output started at /customers/6/c/b/olderkjaer.com/httpd.www/wp-content/themes/
   ifeature/functions.php:928) in /customers/6/c/b/olderkjaer.com/httpd.www/wp-includes/
   pluggable.php on line 1210
 * This is in line 928:
    <?php
 * And this is in line 1210:
    header(“Location: $location”, true, $status);
 * I have no idea of whats wrong??
    Can anybody help??

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

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

The topic ‘Cannot modify header error – accessing wp.admin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 22 replies
 * 19 participants
 * Last reply from: [ira78](https://wordpress.org/support/users/ira78/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-modify-header-error-accessing-wp-admin/page/2/#post-9741207)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
