Press "Enter" to skip to content

Error Fixed: WordPress inability to edit and save theme PHP files

There’s one common problem everyone are currently facing using the most advanced content management system platform, WordPress, which is inability to save or edit main theme PHP files, especially after successful upgrade to WordPress 4.9 and higher. However, an absolute and instant fix has been tested and provided, based on my research.

I have seen same topics being created on different forums, seeking for a remedy but the solution is now available.

Moreover, this error occurred when my website was automatically upgraded to the latest version of WordPress 4.9. I was unable to edit and save my theme PHP files but instead, it keeps popping out with this same warning error after several troubleshoot below:

“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.”

This happens whenever I hit the “Update” button to save my files. It’s telling me to edit my theme via FTP but without the stress of using FTP, I later found an easy way to resolve the issue.

How to resolve the issue

Go to your Plugins and install new plugin called “Theme editor“, this will allow you edit and save your themes PHP file codes comfortably without using the FTP as requested by the WordPress version. Additionally, you can also use “WP Editor” plugin to fix the issue.

Is it helpful?

14 Comments

  1. Harun Khalid Adeiza Harun Khalid Adeiza February 17, 2018

    Wow! It’s very helpful! WordPress user should be able to solve the problem for now.. Thanks a lot for the info..

  2. mukhtar mukhtar February 17, 2018

    Well crafted post.. Thanks for this awesome tutorial.

    • Prexblog Prexblog Post author | February 18, 2018

      You’re welcome bro

  3. Ayo ade Ayo ade February 18, 2018

    Awesome

  4. Haruna Mustorpha Haruna Mustorpha February 18, 2018

    Thanks for reviewing.. It helps a lot! Though I am not a blogger or WordPress.
    Thanks.

  5. Robbie Robbie February 24, 2018

    I installed and tried both theme editor plug ins and for the life of me cannot locate the Homepage template which was obvious in the regular Editor. I simply wanted to change a logo in the side panel as a test to see if I can get rid of that error. I have opened dozens of files in every theme – that starts with “content” or “index” or “page” etc. Any idea where it would be or what it would look like? Thanks!

    • Prexblog Prexblog Post author | February 24, 2018

      You want to locate the homepage template? Go to Appearance>>Customizer and setup your logo in the side panel.

      Or, if that doesn’t work….

      Kindly, tell me the name of the “file” you are looking for…..so that I can check it up over here.

      • Robbie Robbie February 24, 2018

        Homepage Template or (homepage.php) as it appears in Editor.

        I don’t believe it! I updated a “Custom Side Bar” plug in and no more error! I just didn’t have the stomach for any more updates after I updated WP and it messed me up. I guess the trick is to update EVERYTHING so they are compatible when you update WP.

        Thanks for your help!

      • Prexblog Prexblog Post author | February 24, 2018

        Wow! That’s great bro. You can refer your friends encountering same problem to this article. You’re welcome.

  6. Prexblog Prexblog Post author | February 24, 2018

    You want to locate the homepage template? Go to Appearance>>Customizer and setup your logo in the side panel.

    Or, if that doesn’t work….

    Kindly, tell me the name of the “file” you are looking for…..so that I can check it up over here.

  7. Mohammed Ahmed Mohammed Ahmed April 15, 2018

    Oh boy! Thank you so much for this information. I almost lost my mind, I was even about to pay money to bring my website back the way it was until I saw this post.

    I put a code inside the header.php and updated it. That was when I got the error. The entire theme on my website disappeared.

    I was so frustrated. Anyway, thank God I found help.

    • Prexblog Prexblog April 15, 2018

      You’re welcome bro.

Leave a Reply

Is it helpful?Be the first to comment because your comments are highly welcomed and appreciated to this article. Do not forget to share with your friends, families and on social media like Facebook, Twitter, Linkindin and others.

Your email address will not be published. Required fields are marked *