Unable to communicate back with site to check for fatal errors

Unable to communicate back with site to check for fatal errors

Unable to communicate back with site to check for fatal errors is a WordPress error that usually occurs when you edit theme files, for example editing the functions.php file through the WordPress dashboard.

Usually, the error message you get will look like this:

Unable to communicate back with 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.

Cara Memperbaiki Unable to communicate back with site - 0

So, how do you fix it so you can edit WordPress theme files again through the WordPress dashboard?

How to Fix the WordPress Unable to communicate back with site to check for fatal errors

To fix the Unable to communicate back with site to check for fatal errors, you can edit the WordPress core files by following these steps

Note: You need to edit the core file WordPress to do this. It is highly recommended to back up your WordPress site before proceeding.

1. Open File Manager in Hosting or VPS

To do this, you need to have access to your server or hosting and be able to make file changes through File Manager or FTP.

If you are using cPanel, you can search for File Manager using the search bar in cPanel

Cara Memperbaiki Unable to communicate back with site - 1-1

After opening the file manager, you can look for the WordPress installation folder you are using, for example in the public_html

Cara Memperbaiki Unable to communicate back with site - 1-2

2. Find and Edit the File

Once you have found the WordPress installation folder, you can then look for the file wp-admin/includes/file.php through the file manager and edit that file, where wp-admin/includes is the folder name, while file.php is the name of the file you need to edit, which is located inside the wp-admin/includes

Cara Memperbaiki Unable to communicate back with site - 2-1

3. Update the Code Line

Inside the file named file.php, you need to find the following line of code

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

Or for easier reference, that line is usually on line 525.

After you find that code, you can change it to look like this

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

Once updated, the result will look like this

Cara Memperbaiki Unable to communicate back with site - 3-1

4. Try Updating the File Through the Dashboard

Since you have now updated the configuration in WordPress, you can try updating the file in your WordPress theme through the WordPress dashboard.

Now when you save the file, you will get a success message and will no longer receive the error Unable to communicate back with 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.

Cara Memperbaiki Unable to communicate back with site - 4-1

That is how to resolve the error where you cannot save file changes through the WordPress dashboard, which requires you to update a WordPress core file.

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...