Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    Thread Starter lhernandez

    (@lhernandez)

    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/
    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.]

    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

    (@lhernandez)

    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.