无法与网站通讯以检查致命错误 [英] Unable to communicate back with site to check for fatal errors

查看:108
本文介绍了无法与网站通讯以检查致命错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于无法与站点进行通讯以检查致命错误,因此恢复了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) {

Wordpress无法通信回站点

这篇关于无法与网站通讯以检查致命错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆