Title: Warning: Cannot modify header information &#8211; no solution found
Last modified: August 31, 2016

---

# Warning: Cannot modify header information – no solution found

 *  Resolved [mh1](https://wordpress.org/support/users/mh1/)
 * (@mh1)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-no-solution-found/)
 * Hi,
    I do have problems finding a solution with the “Cannot modify header information”
   warning. I read thru all the blogs and tried all the recos. No luck. No blanks,
   no breaks nothing. So thanks for any support you may have!
 * Please find information below:
 * my page shows:
    [http://markus-ruth.ch/](http://markus-ruth.ch/) error: Warning:
   Cannot modify header information – headers already sent by (output started at/
   www/htdocs/w0146fdd/markus-ruth.ch/wp-includes/functions.php:1) in /www/htdocs/
   w0146fdd/markus-ruth.ch/wp-content/themes/kidscare/functions.php on line 649
 * Interesting: this is a replica of this page:
    [http://www.kinderloft.ch/](http://www.kinderloft.ch/)
   done with All-in-One WP-Migration.
 * Now when I look in functions.php on line 1, it really all looks fine:
 * Here a copy of the first few lines:
 * <?php
    /** * Main WordPress API * * [@package](https://wordpress.org/support/users/package/)
   WordPress */ require( ABSPATH . WPINC . ‘/option.php’ ); /** * Convert given 
   date string into a different format. * * $format should be either a PHP date 
   format string, e.g. ‘U’ for a Unix * timestamp, or ‘G’ for a Unix timestamp assuming
   that $date is GMT. * * If $translate is true then the given date and format string
   will * be passed to date_i18n() for translation. * * [@since](https://wordpress.org/support/users/since/)
   0.71 * * [@param](https://wordpress.org/support/users/param/) string $format 
   Format of the date to return. * [@param](https://wordpress.org/support/users/param/)
   string $date Date string to convert. * [@param](https://wordpress.org/support/users/param/)
   bool $translate Whether the return date should be translated. Default true. *
   [@return](https://wordpress.org/support/users/return/) string|int|bool Formatted
   date string or Unix timestamp. False if $date is empty. */
 * I have spent a lot of time finding the issue with functions.php. Just no luck
   yet.
 * So thanks for any support you may have!

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

 *  [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * (@rajanit2000)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-no-solution-found/#post-7319789)
 * Try this function
 * ob_start(); and ob_end_flush();
 *     ```
       <?php
       ob_start();
       /**
       * Main WordPress API
       *
       * @package WordPress
       */
       require( ABSPATH . WPINC . '/option.php' );
       /**
       * Convert given date string into a different format.
       *
       * $format should be either a PHP date format string, e.g. 'U' for a Unix
       * timestamp, or 'G' for a Unix timestamp assuming that $date is GMT.
       *
       * If $translate is true then the given date and format string will
       * be passed to date_i18n() for translation.
       *
       * @since 0.71
       *
       * @param string $format Format of the date to return.
       * @param string $date Date string to convert.
       * @param bool $translate Whether the return date should be translated. Default true.
       * @return string|int|bool Formatted date string or Unix timestamp. False if $date is empty.
       */
       ..
       ..
       ..
       ..
   
       ob_end_flush();
       ?>
       ```
   
 *  Thread Starter [mh1](https://wordpress.org/support/users/mh1/)
 * (@mh1)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-no-solution-found/#post-7319888)
 * Hi Rajan
 * Did not help either. Same warning as before (see above).
    Any other ideas?
 *  [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * (@rajanit2000)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-no-solution-found/#post-7319932)
 * Try after disable “all-in-one-wp-migration” plugin
 *  Thread Starter [mh1](https://wordpress.org/support/users/mh1/)
 * (@mh1)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-no-solution-found/#post-7319966)
 * I cannot do this, as I cannot login as admin… :-(.
    However, I would be surprised
   if this would work. markus-ruth.ch is a replica of kinderloft.ch. In kinderloft.
   ch I have still all-in-one-wp-migration as active. this page works. But again:
   I simply cannot login as admin.
 * any other idea?
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-no-solution-found/#post-7319968)
 * Here’s the entire error message that’s currently appearing on your site at `http://
   markus-ruth.ch/`:
 * _“Warning: Cannot modify header information – headers already sent by (output
   started at /www/htdocs/w0146fdd/markus-ruth.ch/wp-content/plugins/**all-in-one-
   wp-migration**/constants.php:1) in /www/htdocs/w0146fdd/markus-ruth.ch/wp-content/
   themes/kidscare/functions.php on line 649″_
 * > I cannot do this, as I cannot login as admin…
 * You don’t need to log in.
 *  Use your FTP client or the file manager in your hosts control panel to temporarily
   rename the all-in-one-wp-migration plugin directory and see if the symptom changes.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-no-solution-found/#post-7319970)
 * Eliminate the blank space at the beginning of the file.
 *  Thread Starter [mh1](https://wordpress.org/support/users/mh1/)
 * (@mh1)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-no-solution-found/#post-7319978)
 * [@rajan](https://wordpress.org/support/users/rajan/) V and
    [@clayton](https://wordpress.org/support/users/clayton/)
   James: => great! you saved my day. It now all works.
 * [@samuel](https://wordpress.org/support/users/samuel/) Wood (Otto): I have tried
   this before and this never helped solving my particular problem.

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

The topic ‘Warning: Cannot modify header information – no solution found’ is closed
to new replies.

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [Modify](https://wordpress.org/support/topic-tag/modify/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [mh1](https://wordpress.org/support/users/mh1/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-no-solution-found/#post-7319978)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
