问题描述
由于无法与站点进行通讯以检查致命错误,因此恢复了PHP更改.您将需要通过其他方式(例如,使用SFTP)上传PHP文件更改.
Unable to communicate back with the 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.
有什么解决方法
我正在WordPress中的头文件中进行编辑,得到此问题
I am editing in a header file in WordPress, Getting this problem
推荐答案
尝试一下.我遇到了同样的问题,并决定对其进行调查.
Try this. I had the same issue and decided to look into it.
更改wp-admin/includes/file.php的第492行:
Change line 492 of wp-admin/includes/file.php:
从
if($ is_active&&'php'=== $ extension){
if ( $is_active && 'php' === $extension ) {
TO
if($ is_active&&'php'=== $ extension&& false){
if ( $is_active && 'php' === $extension && false) {
这篇关于无法与网站通讯以检查致命错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!