Title: Warning: Cannot modify header information
Last modified: August 30, 2016

---

# Warning: Cannot modify header information

 *  [Moralis](https://wordpress.org/support/users/moralis/)
 * (@moralis)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-165/)
 * Anyone know how to solve this problem ? I can’t sign into the wordpress admin
   layer~
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home2/cv/public_html/wp-blog-header.php:2) in /home2/cv/public_html/wp-includes/
   pluggable.php on line 1228

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-165/#post-6879648)
 * You have unexpected whitespace (either a space or an entire line) on line 2 of
   the `wp-blog-header.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 [Moralis](https://wordpress.org/support/users/moralis/)
 * (@moralis)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-165/#post-6879652)
 * Hy,James Huff~
    Thank you for answering my question, But I can’t figure out any
   unexpected whitespace in my wp-blog-header.php～ ————————————————————— <?php /***
   Loads the WordPress environment and template. * * [@package](https://wordpress.org/support/users/package/)
   WordPress */
 * if ( !isset($wp_did_header) ) {
 *  $wp_did_header = true;
 *  require_once( dirname(__FILE__) . ‘/wp-load.php’ );
 *  wp();
 *  require_once( ABSPATH . WPINC . ‘/template-loader.php’ );
 * }
    —————————————————————
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-165/#post-6879653)
 * That base64 stuff shouldn’t be there. Unfortunately, you have a much bigger problem.
   🙁
 * Remain calm and carefully follow [this guide](https://codex.wordpress.org/FAQ_My_site_was_hacked).
   When you’re done, you may want to implement some (if not all) of [the recommended security measures](https://codex.wordpress.org/Hardening_WordPress).
 *  Thread Starter [Moralis](https://wordpress.org/support/users/moralis/)
 * (@moralis)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-165/#post-6879655)
 * So how can I solve the problem ?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-165/#post-6879656)
 * Carefully follow the guide I linked to.

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

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

 * 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: [10 years, 6 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-165/#post-6879656)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
