Unable to communicate back with site to check for fatal errors

喜欢而已 提交于 2020-07-07 11:30:13

问题


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.

There is any Solution

I am editing in a header file in WordPress, Getting this problem


回答1:


Try this. I had the same issue and decided to look into it.

Change line 492 of wp-admin/includes/file.php:

FROM

if ( $is_active && 'php' === $extension ) {

TO

if ( $is_active && 'php' === $extension && false) {

Wordpress unable to communicate back to site



来源:https://stackoverflow.com/questions/54192978/unable-to-communicate-back-with-site-to-check-for-fatal-errors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!