无法修改标头信息 - 虽然没有错误但无法解析

时间:2015-12-24 12:44:47

标签: php wordpress error-handling wordpress-plugin

我的wordpress网站遇到问题,我的登录界面上看不到任何内容:http://vtrails.us/login - 这是空白的。 但在我的error_log文件中,我正在寻找一个问题

PHP Warning: Cannot modify header information - headers already sent by (output started at /home/vtrailsu/public_html/wp-content/plugins/mix-tape/update_calls.php:198) in /home/vtrailsu/public_html/wp-includes/pluggable.php on line 1228 enter image description here 但我在update_calls : line 198上看不到任何内容(见上文) 那么它的解决方案是什么呢?我可以获得更多相关信息吗?

1 个答案:

答案 0 :(得分:0)

不要在php脚本的末尾使用?>。结束标记是可选的。 + ?>之后有2个换行符可以输出。

仅当您想在此之后编写纯HTML时才使用?>结束标记