我正面臨wordpress中的錯誤。錯誤無法修改標題信息 - 標題已發送
Warning: Cannot modify header information - headers already sent by (output
started at /home/******/public_html/******/demo/awani/wp-
content/themes/*********/functions.php:1) in /home/*******/public_html
/**********/demo/*********/wp-includes/pluggable.php on line 1210
我尋覓一下,發現solution,我有後<?php
標籤移除的functions.php額外的空間。我做了,但它不起作用。另外在第一行除<?php
我也從functions.php中刪除所有的代碼,並上傳空白文件僅用於測試目的,但仍顯示相同的錯誤。
有人可以指導我如何解決這個問題。我想感謝。
[如何解決]可能的PHP頭文件已發送錯誤(https://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php) – Jens