• Yep, it’s the “Cannot modify header information” error preventing me from seeing my admin panel. The actual site/blog renders fine.
    The error reads:
    “Warning: Cannot modify header information – headers already sent by (output started at /home1/gassaver/public_html/belly-fat-loser.com/wp-includes/general-template.php:2926) in /home1/gassaver/public_html/belly-fat-loser.com/wp-includes/pluggable.php on line 1196”

    Line 2926 of general-template.php is in here:
    Line_2923 * @param string $file Style handle name or filename (without “.css” extension)
    * relative to wp-admin/. Defaults to ‘wp-admin’.
    */
    Line_2926 echo apply_filters( ‘wp_admin_css’, “<link rel=’stylesheet’ href='” . esc_url( wp_admin_css_uri( $file ) ) . “‘ type=’text/css’ />\n”, $file );

    if ( function_exists( ‘is_rtl’ ) && is_rtl() ) {
    /** This filter is documented in wp-includes/general-template.php */
    echo apply_filters( ‘wp_admin_css’, “<link rel=’stylesheet’ href='” . esc_url( wp_admin_css_uri( “$file-rtl” ) ) . “‘ type=’text/css’ />\n”, “$file-rtl” );
    }
    }

    /**

    Any help would be highly appreciated, thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • I should progressively deactivate all plugins and switch to the default theme to try to identify the component that is causing the problem. WordPress, or the offending component, may need to be reinstalled.

    Thread Starter Opportunities

    (@opportunities)

    I downloaded a new copy of wordpress (4.2.2), changed the filename of the existing file that’s the listed offender (wp-includes/general-template.php), ftp’d the fresh copy to the directory. The same error remains. I cleared my browser cache, in case that would make a difference.

    I’d expect a fresh copy of the file directly from WordPress would eliminate that file as the error culprit, but perhaps not. Any ideas?

    Many thanks in advance.

    Moderator t-p

    (@t-p)

    – Try reviewing this codex to solve header already sent problem: http://codex.ww.wp.xz.cn/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Thread Starter Opportunities

    (@opportunities)

    Tara,

    Yeah, thanks, I can just about recite that from memory now! I’ve heard of this error persisting even after a fresh WP install. How does that reconcile with excess white space? Shouldn’t a fresh install have no excess spaces?

    In any case, I was not thinking that installing a fresh copy of the indicated file would eliminate the error, but that it would manifest itself in a different file or later in the same one. I’ve heard of instances where it takes several rounds of fixing a file, that then leads to another that must be repaired. In my case though, the error line listed was the same.

    Thanks,

    Steve

    Thread Starter Opportunities

    (@opportunities)

    lorro, despite my skepticism, you nailed it. I logged into my control panel, renamed the pluggins folder, and “Poof!” the error disappeared. I then re-activated them one at a time until it came back. The culprit? PopUp Domination.The fact that PopDom was V2, rathre than the current v3.5 probably had something to do with that. Thanks everyone for your help!

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

The topic ‘The "Cannot modify header information" error when attempting wp-admin’ is closed to new replies.