• Error message when doing anything with plugins. Have read the forum as best I can.

    Warning: Cannot modify header information – headers already sent by (output started at /home/paveepoi/public_html/sitenua/wp-includes/general-template.php:2101) in /home/paveepoi/public_html/sitenua/wp-includes/pluggable.php on line 866

    line 866 on pluggable.php is:

    header("Location: $location", true, $status);

    immediately followed by a curly bracket and the rest of the PHP. There is no blank line at the beginning or end of the file, or before the closing

    >?

    general-template.php also appears to have nothing seriously wrong. No blank lines before the opening <php or the closing ?>

    I can’t identify any obvious solution, but I am happy to hope there will be one. Have reinstalled the WordPress, have upgraded the theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter [email protected]

    (@bennabidanacom)

    Thanks for that esmi – I can now interpret the problem and see that the issue must lie in general-template.php , but I don’t see it.

    I’m using crimson editor to get line numbers.

    There is no white space below the closing ?> and none before the opening <php

    On line 2101 of general-template.php there’s the following:

    echo apply_filters( 'wp_admin_css', "<link rel='stylesheet' href='" . esc_url( wp_admin_css_uri( $file ) ) . "' type='text/css' />\n", $file );

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

    I tried first by just replacing the general-template.php file but that didn’t do it.
    I uninstalled the feedwordpress plugin which was the one showing the error. The problem persisted
    I manually installed the plugin. didn’t do it either..

    So I finally decided to replace the whole wp-includes folder..
    Nope that didn’t worked either… any suggestions??

    If I disable feedwordpress the error goes away. I use the same plugin for syndication in my other blogs but this is the first time it happens… I noticed that when I first started using the plug-in that error didn’t appeared…

    Squid

    (@karimtahtoandpartnersfi)

    I have the same problem but on wp.config.php file on row 1. refering to the same pluggable row, mine happends to be 881:

    [ Moderated: Post your own forum topic. It not polite to hijack someone’s support request with your own. It also makes the thread confusing and hard to follow. ]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Another 'Could not modify headers' error’ is closed to new replies.