问题
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