Warning: Cannot modify header information - headers already sent by (output started at /home/XXX/XXX/XXX/wp-includes/pluggable.php:1) in /home/XXXX/XXXl/XXX/wp-includes/pluggable.php on line 866
Como resolvo isso?
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' )
status_header($status); // This causes problems on IIS and some FastCGI setups
LINHA 866: header("Location: $location", true, $status);
}
endif;
Também no final do arquivo, linha 1743, não tem <?
Precisa disso?
OBS.: Coloquei e continuou o problema, só quero saber se é necessário.
Obrigado!