Cannot modify header information
-
Beste,
Ik ben nog niet zo thuis in Worpress en zie nu nadat ik een site bijna klaar dacht te hebben deze medling bij het aanroepen van de home url.
Wat is dit? na een paar keer pagina vernieuwen is het weg.
Warning: Cannot modify header information – headers already sent in /home/…/domains/…/public_html/wp-includes/pluggable.php on line 874
De regels rondom die line 874 zijn:
if ( !$location ) // allows the wp_redirect filter to cancel a redirect
return false;$location = wp_sanitize_redirect($location);
if ( !$is_IIS && php_sapi_name() != ‘cgi-fcgi’)
status_header($status); // This causes problems on IIS and some FastCGI setups
header(“Location:$location”,true,$status);
}
endif;if ( !function_exists(‘wp_sanitize_redirect’) ) :
/**
* Sanitizes a URL for use in a redirect.
*
- Het onderwerp ‘Cannot modify header information’ is gesloten voor nieuwe reacties.