dongnai3960 2018-10-05 10:18
浏览 570
已采纳

WordPress编辑器不更新文件:无法与站点通信以检查致命错误

Hello fellow developers and problem-solvers. I've run into an issue with updating the header.php file in a WordPress website.

Firstly, I tried updating the file manually through C-Panel -> File Manager. The code appears to stay in the file, but when you view the page source in incognito mode and different web browsers the code doesn't render.

It's not a server problem, I already contacted the server support team and there aren't any error logs being reported by MySQL.

There doesn't appear to be many solutions for this from what I can find from doing some searches on Google.

Full Error

Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.

Any help at all would be greatly appreciated.

  • 写回答

4条回答 默认 最新

  • douhuang2673 2018-10-09 09:40
    关注

    Now, this technically didn't fix the issue at hand. But I just added a WordPress plugin called Insert Headers and Footers and I added the header script and it worked successfully.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部