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:
https://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 649Interesting: this is a replica of this page:
https://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 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.
*/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!
- The topic ‘Warning: Cannot modify header information – no solution found’ is closed to new replies.