Cannot modify header information – headers already sent by
-
Hello,
Please, help me, I can not log-in to my admin page. I recieve this error message:
Warning: Cannot modify header information – headers already sent by (output started at /web/nyaklancraf/bofoxdesign.com/wp-content/themes/bofoxdesign/functions.php:116) in /web/nyaklancraf/bofoxdesign.com/wp-includes/pluggable.php on line 1281 (and 1284)
In pluggable.php file is:
/**
* Filters the X-Redirect-By header.
* Allows applications to identify themselves when they’re doing a redirect.
* @since 5.1.0
* @param string $x_redirect_by The application doing the redirect.
* @param int $status Status code to use.
* @param string $location The path to redirect to.
*/$x_redirect_by = apply_filters( ‘x_redirect_by’, $x_redirect_by, $status, $location );
if ( is_string( $x_redirect_by ) ) {
header( “X-Redirect-By: $x_redirect_by” ); – IS LINE 1281
}
header( “Location: $location”, true, $status ); – IS LINE 1284
return true;
}
endif;Could you help me, please? Thanks in advance, Maria
- The topic ‘Cannot modify header information – headers already sent by’ is closed to new replies.