• S Sen

    (@developersend)


    [02-Jan-2017 18:07:19 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 932
    [02-Jan-2017 18:07:19 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 893
    [02-Jan-2017 18:07:19 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 894
    [02-Jan-2017 18:07:19 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 895
    [02-Jan-2017 18:07:19 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179
    [02-Jan-2017 21:35:58 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179
    [02-Jan-2017 21:37:07 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179
    [02-Jan-2017 21:37:25 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179
    [02-Jan-2017 21:38:15 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179
    [03-Jan-2017 02:07:37 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/feed-rss2-comments.php on line 8
    [03-Jan-2017 03:13:49 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179
    [03-Jan-2017 03:13:53 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/chiphoss/public_html/blog/wp-config.php:1) in /home/chiphoss/public_html/blog/wp-includes/pluggable.php on line 1179

    How to solve this problem ? I am can’t access wp-admin.

Viewing 15 replies - 1 through 15 (of 22 total)
  • Moderator James Huff

    (@macmanx)

    You have unexpected whitespace (either a space or an entire line) on line 1 of the wp-config.php file. See this guide for more info.

    Alternatively, replacing the file by building a new one from wp-config-sample.php via a fresh download of WordPress will work too.

    I have just experienced the same problem. None of the files referred to in the error messages had been changed between the site working then not working. However, I had added the bbPress plugin and it was that which had caused the conflict. By changing the directory name for bbPress, it was no longer recognised by WordPress so I was able to login again and uninstall it. I had previously installed N-Media WP Member Registration plugin and I think that is where the conflict occurred because bbPress is working fine on my other site. Hope that helps.

    Hi there,

    this problem is mostly due to spaces in php files. Make sure you don’t have any spaces before and after php tags.

    Secondly also make sure WP_DEBGU is set to false.

    I hope it helps.

    Hello, I am getting this message when trying to access website:

    Warning: Cannot modify header information – headers already sent by (output started at /home4/twdewitt/fitnessandhealthgenie.com/wp-content/themes/idoneita/about.php:9) in /home4/twdewitt/fitnessandhealthgenie.com/wp-includes/pluggable.php on line 1195

    Hello,
    The following are the causes behind this warning:
    1. Page body content sent before the Header.
    2. Unparsed HTML before the Header.
    3. Extra spaces or lines before <?php or after a closing?> php tag.
    4. Incorrect PHP Encoding Format.

    [link redacted]

    I would appreciate some help. I am not a coder, though I can understand the most basic html, and really pre-school level php.
    I tried to access my site admin but can’t. Instead I get this message on an otherwise blank screen.
    “Warning: Cannot modify header information – headers already sent by (output started at /home/intownp/public_html/wp-content/plugins/easy-facebook-likebox/includes/easy-custom-facebook-feed-widget.php:3) in /home/intownp/public_html/wp-includes/pluggable.php on line 1210”

    Before this happened and before I turned my computer off for the night, I had updated 2 or three plugins, based on notifications. I am not sure now which ones I updated, except for Mobiloud News, and Facebook Likebox, I think.

    I’ve updated plugins as often as I am notified, and have never had this problem before. Now I cannot work on updating my posts and listing. Can anyone help me with this please? My site is intownproperties.ph, and I cannot access the admin page when I type in intownproperties.ph/wp-admin.

    I read the previous message, which is somewhat Greek to me. In any case, those are the causes, but how can they be solved?

    Thank you so much for your help.
    Vikky

    Hi – I’m having the same problem. How to fix please?

    Warning: Cannot modify header information – headers already sent by (output started at /home1/myquirk3/public_html/wp-content/plugins/easy-facebook-likebox/includes/easy-custom-facebook-feed-widget.php:3) in /home1/myquirk3/public_html/wp-includes/pluggable.php on line 1210

    This is what the section says from lines 1201 to 1229 of pluggable.php (The line numbers don’t seem to be aligned to the code.)

    * @since 4.2.0
    * @access private
    *
    * @see wp_sanitize_redirect()
    *
    * @param array $matches RegEx matches against the redirect location.
    * @return string URL-encoded version of the first RegEx match.
    */
    function _wp_sanitize_utf8_in_redirect( $matches ) {
    return urlencode( $matches[0] );
    }
    endif;

    if ( !function_exists(‘wp_safe_redirect’) ) :
    /**
    * Performs a safe (local) redirect, using wp_redirect().
    *
    * Checks whether the $location is using an allowed host, if it has an absolute
    * path. A plugin can therefore set or remove allowed host(s) to or from the
    * list.
    *
    * If the host is not allowed, then the redirect defaults to wp-admin on the siteurl
    * instead. This prevents malicious redirects which redirect to another host,
    * but only used in a few places.
    *
    * @since 2.3.0
    *
    * @param string $location The path to redirect to.
    * @param int $status Status code to use.
    */

    I can’t get into my site at all. After ….com/wp-admin I am getting blank page with this:

    Warning: Cannot modify header information – headers already sent by (output started at /home1/artexglo/public_html/midmacor.com/wp-content/plugins/easy-facebook-likebox/includes/easy-custom-facebook-feed-widget.php:3) in /home1/artexglo/public_html/midmacor.com/wp-includes/pluggable.php on line 1210

    so I cannot make any adjustments at all.

    Check wp-load.php and delete all white spaces or blank lines appear before <?php tag.

    Where is the wp-load.php file located? I’m in Editor and don’t see it. I’m getting the same header error.

    Open the wp-load.php file with EDITOR (it’s located straight under public_html folder). You will see a big white space between line one and the first <php tag. All you need to do is remove all that white space. It will work.
    Pat

    i have the following error and cant able to login to admin page.

    Warning: Cannot modify header information – headers already sent by (output started at /home/domain-name/public_html/wp-content/plugins/wp-google-map-plugin/wpgmp-all-js.php:1) in /home/domainame/public_html/wp-login.php on line 414

    Warning: Cannot modify header information – headers already sent by (output started at /home/domain-name/public_html/wp-content/plugins/wp-google-map-plugin/wpgmp-all-js.php:1) in /home/domainame/public_html/wp-login.php on line 426

    tenho o mesmo problema eu acho

    snippets plugin /wp-includes/pluggable.php on line 1210

    header(“Location: $location”, true, $status);
    (essa é a linha 1210)

    I get this warning:
    Cannot modify header information – headers already sent by (output started at /customers/6/c/b/olderkjaer.com/httpd.www/wp-content/themes/ifeature/functions.php:928) in /customers/6/c/b/olderkjaer.com/httpd.www/wp-includes/pluggable.php on line 1210

    This is in line 928:
    <?php

    And this is in line 1210:
    header(“Location: $location”, true, $status);

    I have no idea of whats wrong??
    Can anybody help??

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Cannot modify header error – accessing wp.admin’ is closed to new replies.