Ao acessar o wp-admin "headers already sent"
-
Olá, quando fiz upgrade para a versão mais nova do wordpress, o meu wp-admin começou a apresentar problemas
Warning: Cannot modify header information - headers already sent by (output started at /home/whats457/public_html/wp-content/themes/WGO/functions.php:54) in /home/whats457/public_html/wp-includes/pluggable.php on line 866
Na linha 866 encontra-se o seguinte código:
}
Vou postar também algumas linhas antes e depois da 866, talvez o problema seja em alguma delas:
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’) ) :
/**
Visualizando 1 resposta (de um total de 1)
Visualizando 1 resposta (de um total de 1)
- O tópico ‘Ao acessar o wp-admin "headers already sent"’ está fechado para novas respostas.