Cannot modify header information – headers already sent by
-
Wordpress’e siteme girdiğimde
”Warning: Cannot modify header information – headers already sent by (output started at /home/fif06ux7536y/public_html/wp-config.php:1) in /home/fif06ux7536y/public_html/wp-includes/pluggable.php on line 1255” hatası alıyorum.
Söz konusu Pluggable dosyasındaki satırda çeşitli değişiklikler yapmaya çalıştım ancak herhangi bir olumlu sonuç alamadım. ASaşağıda 1250’den başlayarak 1259’uncu satırın kopyası bulunuyor.
$x_redirect_by = apply_filters( ‘x_redirect_by’, $x_redirect_by, $status, $location );
if ( is_string( $x_redirect_by ) ) {
( ‘X-Redirect-By: $x_redirect_by’ );
}header ( ‘Location: $location’, true, $status );
return true;
}
endif; -
$x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location );if ( is_string( $x_redirect_by ) ) {
( "X-Redirect-By: $x_redirect_by" );}
header ( “Location: $location”, true, $status );
return true;
`}
- ‘Cannot modify header information – headers already sent by’ konusu yeni yanıtlara kapalı.