自从我迁移了我的页面后,我收到了这条烦人的警告信息。当我保存更改以保存任何内容(帖子,设置......)和上传图像(这就是我注意到它的地方)时,它会显示出来。消息如下:
Cannot modify header information - headers already sent by (output started at path/to/theme/functions.php:1) in /path/to/wp/wp-includes/pluggable.php on line 881
现在我知道在调用标头之前有内容输出到浏览器时应该显示此消息。但是我的functions.php很清楚,至少在dreamweaver中看起来是这样的:
<?php
add_theme_support( 'post-thumbnails' );
add_action...
我看不到那里没有输出...怎么了?我之前在测试域上没有收到消息。