WordPress 4.9 ERROR – UNABLE TO EDIT .php OF YOUR THEME

Technology

Do you get the “Unable to communicate back with site to check for fatal errors, so the PHP changes was reverted. You will need to upload your PHP file change by some other means such as by using SFTP” reply when you try editing your theme’s PHP (header.php, footer.php,…) ???

If you do,  just know that you’re not alone. Go get a bottle of water then come back to see how I solved mine.

 

WordPress has a whole lot of amazing themes. This themes are used depending on what purpose our website is created for. As for me, I select my theme based on what expression I expect to create. That’s after I must have convinced myself that I like that particular theme.

 

The good thing is, we can edit this theme to add sugar, spice and everything nice. Yea!  That’s so right. I was tired of the initial layout of my blog, so I picked up my hook and line and went fishing in the ocean of themes. I saw this simple theme and liked it.

 

PHP
UNABLE TO UPDATE FILES

I installed my new theme, went straight for the live preview made a few changes and hit the activate & publish button. Tick! Tick!!  Tick!! My new theme was online. I felt playing with my header and footer won’t be a bad idea,  I hopped into Appearance > Editor > footer.php, did some changes and hit update file button. It took a while loading and then the disturbing reply came up

Unable to communicate back with site to check for fatal errors, so  the PHP changes was reverted. You will need to upload your PHP changes by some other means,  such as by using SFTP.

 

READ ALSO  Accounts Created To Influence Campaigns Gets Deleted On Facebook

 

 

I was really disturbed. I needed those changes on my blog ASAP. I looked up how to use SFTP to edit themes on WordPress. I saw a detailed guide on how to get busy with SFTP, quite educating but I wasn’t ready for the long protocols.

I do edit my themes before my upgrade to WordPress 4.9.3, I felt if I could just downgrade my WordPress to a former release,  I would be fine. I installed WP Downgrade plugin, activated it,  selected a former release,  saved and went on to re-installing my WordPress. Guess what! I crashed my blog. I think there was a plugin and theme clash.  I couldn’t access my blog, I also wasn’t able to access my dashboard. I got

www.icmaxblog.com could not handle the request.  HTTP error 500.

I thought I had lost it all so i went for the sofa to think about my life. I decided to send an urgent message to my domain provider. Well,  they delivered even before I got to the sofa. They rock! My blog was back. I couldn’t afford to be tempted again so I needed to send WP Downgrade to my trash can.

READ ALSO  MTN Slashes its Night Plan Data Cap

 

I wasn’t satisfied and had to continue my research. Learnt the issue was with my plugin not been compatible with the WordPress version 4.9. The solution was to uninstall the plugin that was not compatible. Sounds easy but what exact plugin do I need to deactivate?

 

I had plugins that add to the function of my blog. I wasn’t ready to begin setting each plugin after uninstalling them and finding out that was not the plugin causing the disturbances. Hmm!

health Check
ISSUES WITH LOOP BACK REQUEST

 

 

I came across Health Check plugin. This plugin came in handy,  very useful and does what it is created for. Installed Health Check, activated it and used it to check my blog’s health. Looks like it was sick after all.

 

 

 

 

 

 

TESTING WITHOUT PLUGIN

 

READ ALSO  GET 20 TIMES BONUS ON AIRTEL

 

 

There were issues with the loop back request. I ran test without plugins by clicking the test without plugin button. The result came out neat. This time I was fully convinced it was my plugin that has been giving me all the stress.

 

 

 

 

TESTING INDIVIDUAL PLUGIN

 

 

 

 

I also ran test for my individual plugins following the button click “Test individual plugin”. I had chill for the result to come out. There it was!.  The plugin with issues.

 

 

 

 

 

You must have guessed my next move correctly. I couldn’t wait to deactivate that plugin straight up. Deactivated the plugin and checked my blog’s health again. My blog’s malaria was gone.

LOOP BACK REQUEST PASSED

 

My issue had been solved. I went straight to editing my theme files and files were updated successfully. That wasn’t hard after all. So I lived happily ever after.

 

If your still finding it difficult, please use the comment section or log in (or Register) then post update in the activity and your thread will be fully attended to.

HAVE QUESTIONS OR CONTRIBUTIONS? DROP THEM HERE. !!!

This site uses Akismet to reduce spam. Learn how your comment data is processed.