我遇到此錯誤。我不知道如何處理這個問題。無法修改標題信息 - 已通過...發送標題問題
不能更改頭信息 - 頭已經(輸出 開始在 /home/ben213/public_html/wp-content/themes/Bendaggers/functions.php:9) 發送到/ home/ben213 /的public_html /wp-includes/pluggable.php上線934
我functions.php文件行#9:
<?php if(function_exists('register_sidebar'))register_sidebar();?>
雖然我的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;
我很難搞清楚這一點,因爲我不是程序員。什麼似乎是錯的?請親切地幫助我...
的[無法修改標題信息可能重複 - 頭已經發出.. 。Wordpress問題](http://stackoverflow.com/questions/7381661/cannot-modify-header-information-headers-already-sent-by-wordpress-issue) – fvu
謝謝塞思對我的「接受評分」。你我們非常樂於助人! –
@Ben,對於你以前的每個問題,請勾選幫助你的答案。這是評分旁邊的小勾號。號碼。 – KarlP