WordPress登录后台提示Warning: Cannot modify header information

来自:互联网
时间:2018-08-29
阅读:

WordPress登录后台提示

Warning: Cannot modify header information – headers already sent by (output started at ……/wp-config.php:1) in /……/wp-includes/pluggable.php on line 875

解决这个问题很简单,用notepad++打开config.php文件,把文件格式改成 以UTF无BOM格式编码

今天又发现一个出现该问题的原因,functions.php文件末尾如果有多个空行,也会出现此错误,去除末尾多余的空行即可。

返回顶部
顶部