Unable to communicate back with site to check for fatal errors

Viewed 3586

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 Answers

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

Related