A new spin on "Warning: Cannot modify header information – headers already sent"
I have just migrated web host and now, whenever I do almost anything on my blog, I get the above error.
I’ve searched through the support pages and although there are many similar instances, this one seems different.
error message is as follows – “Warning: Cannot modify header information – headers already sent by (output started at /home/brillie4/public_html/laybackandgetrich/wp-includes/general-template.php:2101) in /home/brillie4/public_html/laybackandgetrich/wp-includes/pluggable.php on line 866”
I’ve tried editing the general template php file in Notepad, and then in HTMLKit (as someone on here suggested as it apparently sees more garbage than Notepad!?) but no dice. Most explanations seem to say the problem should be at start or end of file but they both look fine to me, and anyway, the message here references line 2101 of the php file.
Lines 2101 in general-template look like this in HTMLKit –
echo apply_filters( ‘wp_admin_css’, “<link rel=’stylesheet’ href='” . esc_url( wp_admin_css_uri( $file ) ) . “‘ type=’text/css’ />\n”, $file );
..which means nothing to me but why should it?! I haven’t changed this and wouldn’t dream of doing so… all I have done is migrate my site from a US based provider to a UK one (and maybe dropped something along the way?)
I did add one plug-in before the move – W3 total cache – but have turned that off and am still getting the prob. So I’m guessing it must be the move that’s done it.
Anyone any clue!?
- The topic ‘A new spin on "Warning: Cannot modify header information – headers already sent"’ is closed to new replies.