The "Cannot modify header information" error when attempting wp-admin
-
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!
The topic ‘The "Cannot modify header information" error when attempting wp-admin’ is closed to new replies.