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

---

# Warning: Cannot modify header information

 *  Resolved [lhernandez](https://wordpress.org/support/users/lhernandez/)
 * (@lhernandez)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-101/)
 * I am unable to get into the WordPress dashboard.
    Get warning: [http://drdubrow.medave.net/wp-admin/](http://drdubrow.medave.net/wp-admin/)
 * Website to work properly.
    I have checked your forums and nothing yet.
 * Any help is appreciated…

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-101/#post-3460603)
 * That appears to be a problem in the functions.php file of your theme.
 * [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)
 *  Thread Starter [lhernandez](https://wordpress.org/support/users/lhernandez/)
 * (@lhernandez)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-101/#post-3460675)
 * I tried the “How do I solve the Headers already sent warning problem?” but no
   luck.
    Still get error on [http://drdubrow.medave.net/wp-admin/](http://drdubrow.medave.net/wp-admin/)
   Here is the functions.php file within the theme:
 *     ```
       <?php
       define('FILES',get_bloginfo('template_url'));
       ?>
   
        <?php register_nav_menus(); ?>
       <?php
           register_sidebar();
       ?>
   
       <?php if ( function_exists('register_sidebar') ) {
       register_sidebar(array(
       'name' => 'Footer Sidebar',
       'id' => 'footer-sidebar',
       'description' => 'Appears as the sidebar on the custom homepage',
       'before_widget' => '<div style="height: auto"></div><li id="%1$s" class="widget %2$s">',
       'after_widget' => '',
   
       'after_title' => '</h2>',
       ));
       }
   
       ?>
       <?php add_theme_support( 'post-thumbnails' );
       ?>
       ```
   
 * _[Please post code or markup snippets between backticks or use the code button.
   Your posted code may now have been permanently damaged by the forum’s parser.]_
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-101/#post-3460677)
 * What theme are you using? You should be able to download a new copy of the theme
   and then replace the functions.php via FTP.
 *  Thread Starter [lhernandez](https://wordpress.org/support/users/lhernandez/)
 * (@lhernandez)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-101/#post-3460678)
 * Okay,
    I am now able to get into the /wp-admin after modifying this file. Too
   much code in here that was not needed.

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

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

## Tags

 * [Cannot modify header information](https://wordpress.org/support/topic-tag/cannot-modify-header-information/)

 * 4 replies
 * 2 participants
 * Last reply from: [lhernandez](https://wordpress.org/support/users/lhernandez/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-101/#post-3460678)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
