[問題] wordpress搬家後,後台出現錯誤已刪文

看板Web_Design作者 (sk3x)時間7年前 (2016/12/03 15:39), 編輯推噓1(105)
留言6則, 3人參與, 最新討論串1/1
各位板友好 打擾了 最近剛從hosting24搬家到hostgator 用的主題是Optimizepress(想要架設會員網站) 搬去後編輯頁面要存檔時出現: Warning: Cannot modify header information - headers already sent by (output started at /home2/panpiano/public_html/wp-content/plugins/optimizeMember/includes/classes/admin-notices.inc.php:99) in /home2/panpiano/public_html/wp-includes/pluggable.php on line 1174 查Google後發現是主題的問題? 嘗試把該段的程式碼找出來: header("Location: $location", true, $status); 想問一下板友解決方法 感謝大家m(_ _)m -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.160.229.161 ※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1480750782.A.237.html

12/03 15:55, , 1F
google應該滿多答案的
12/03 15:55, 1F

12/03 17:22, , 2F
你應該要找 admin-notices.inc.php:99
12/03 17:22, 2F

12/03 17:22, , 3F
而不是 pluggable.php:1174
12/03 17:22, 3F

12/03 17:22, , 4F
後者的 header 無法更改已送出的標頭是由於前者已輸出資料
12/03 17:22, 4F

12/03 23:50, , 5F
謝謝LPH66大,問題解決了!
12/03 23:50, 5F

12/03 23:51, , 6F
去後台調整optimizeMember外掛後,就沒這條訊息了!感恩
12/03 23:51, 6F
文章代碼(AID): #1OGdQ-8t (Web_Design)