Found cause of edit theme error / loopback issue with 4.9.4
-
Like many people, I have been getting the following error when trying to edit my theme’s php files:
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.
For me it turns out that it wasn’t an issue with my server not allowing loopbacks, nor an issue with any of my plugins. I was able to narrow the cause down to my custom theme, and after removing the following lines of code, everything now works:
if (!session_id()) session_start();
Fortunately, it looks like wordpress must have added the ability to do session variables because they appear to still be working after removing the code.
The page I need help with: [log in to see the link]
- The topic ‘Found cause of edit theme error / loopback issue with 4.9.4’ is closed to new replies.