我遇到这个错误。而且我不知道如何处理。
无法修改标头信息-已发送的标头(输出始于/home/ben213/public_html/wp-includes/pluggable.php上的/home/ben213/public_html/wp-content/themes/Bendaggers/functions.php:9) 934行
我的Functions.php文件第9行是:
而我的pluggable.php#934是
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
header("Location: $location", true, $status);}
endif;
因为我不是程序员,所以我很难解决这个问题。怎么了?请帮助我...