“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.”
There are different reasons for this issue. One of the most common mistake by the most people is They miss semicolon at the end as I missed you can see in the image down below.
I just add the semicolon at the end of the statement and the error was gone you can see the image down below:
Goodluck guys if you have any query feel free to comment below.
you can watch the video for your help :