• 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.

    • This topic was modified 6 years, 9 months ago by Sopratutto.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Found cause of edit theme error / loopback issue with 4.9.4’ is closed to new replies.