Support » Fixing WordPress » Unable to edit CSS/PHP theme files in Theme Editor

Viewing 9 replies - 1 through 9 (of 9 total)
  • Same here!
    Unable to edit the .php files within the Editor page area. It wants me to edit the files via FTP 🙁

    css is ok, but php files are slowly when submit button.

    I can update CSS file, but not PHP files.

    @neotechnomad same with me, But now i found it my case is “WordPress Social Login” Plugin
    Try to disable WordPress Social Login and editable.
    I have reported to WordPress Social Login team.
    Waiting for update soon.

    Child theme with all plugins disabled and without changing anything, the “Update” button still gives “Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP”

    neotechnomad

    (@neotechnomad)

    So… is anyone at WordPress working on this?

    As a website designer/developer and an admin for several websites, I aceess the php files through the Theme Editor constantly and this new change is seriously hampering my work.

    AGAIN I inquire…
    …is anyone at WordPress working on this!?!

    As a website designer/developer and an admin for several websites, I aceess the php files through the Theme Editor constantly and this new change is seriously hampering my work.

    I am still receiving this error message:

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

    By installing the Health Check plugin, I have finally narrowed it down to my custom themes, but I am unable to discover why my themes do not work properly now when they worked fine before the WordPress update.

    Is there support for some new feature that I must add to the functions.php file?
    Why are my sites “Unable to communicate back with site to check for fatal errors”?

    I am at a total loss, as all my custom themes have this issue.
    Anyone with any suggestions would be greatly appreciated.

    Resolved this after scanning custom theme files.
    An old caching plugin had inserting this code in the header.php file:
    <? ob_start("ob_gzhandler"); ?>
    After removal, all works fine.

    If you are still experiencing this issue, check your theme’s header.php file at the very top for this code. Remove it in the Text Editor and Save file.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Unable to edit CSS/PHP theme files in Theme Editor’ is closed to new replies.