WordPress.org

Ready to get started?Download WordPress

Forums

Rumput Hijau
[closed] Warning message (1 post)

  1. Marteens
    Member
    Posted 1 year ago #

    Hi.

    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);
    }
    endif;

    What can I do?
    [Please do not create duplicate threads, contunue with: http://wordpress.org/support/topic/warning-message-37?replies=2]

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.