Warning: Cannot modify header information
-
Hey guys. I have tried different suggestions for that error, nothing worked. Do you think we can take it step by step here? Thank you in advance.
Here is the error:
Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/domain.com/wp-includes/nav-menu.php:1) in /home/user/public_html/domain.com/wp-includes/pluggable.php on line 1207
Here is the line 1207:
$status = apply_filters( ‘wp_redirect_status’, $status, $location );
if ( ! $location )
return false;$location = wp_sanitize_redirect($location);
if ( !$is_IIS && PHP_SAPI != ‘cgi-fcgi’ )
status_header($status); // This causes problems on IIS and some FastCGI setups1207 header(“Location: $location”, true, $status);
return true;
}
endif;if ( !function_exists(‘wp_sanitize_redirect’) ) :
- The topic ‘Warning: Cannot modify header information’ is closed to new replies.