Support » Fixing WordPress » Warning message

  • Resolved Marteens



    When I do any change on my site, like updating a page or whatever I get to a white page with this message:

    Warning: Cannot modify header information - headers already sent by (output started at /home/marteens/public_html/wp-content/themes/rumput-hijau/functions.php:32) in /home/marteens/public_html/wp-includes/pluggable.php on line 876

    I tried to see what was on the line 876 in the …/pluggable.php, and I found this:

    function wp_redirect($location, $status = 302) {
    	global $is_IIS;
    	$location = apply_filters('wp_redirect', $location, $status);
    	$status = apply_filters('wp_redirect_status', $status, $location);
    	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' )
    (line 876)		status_header($status); // This causes problems on IIS and some FastCGI setups
    header("Location: $location", true, $status);

    I use the Rumput Hijau theme.

    What can I do?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning message’ is closed to new replies.