wordpress后台Warning: Cannot modify header information - headers already sent by
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了wordpress后台Warning: Cannot modify header information - headers already sent by相关的知识,希望对你有一定的参考价值。
Warning: Cannot modify header information - headers already sent by (output started at /。。。/public_html/wp-config.php:1) in /。。。/public_html/wp-includes/pluggable.php on line 890
pluggable.php 这个文件其中一部分内容
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 )
header("Refresh: 0;url=$location");
else
if ( php_sapi_name() != 'cgi-fcgi' )
status_header($status); // This causes problems on IIS and some FastCGI setups
header("Location: $location", true, $status); (这是890行)
前台没问题,后台出现这问题
以上是关于wordpress后台Warning: Cannot modify header information - headers already sent by的主要内容,如果未能解决你的问题,请参考以下文章
我在安装wordpress主题时出现以下问题,请高手指点!感谢