• Resolved Dan Caragea

    (@dancaragea)


    Hi, Richie
    I read: ?This theme is no longer listed in the theme directory.” and ?This theme has not been updated for over two years.”, but I am using it for more years…
    Today I had a problem: I tried to edit (change the URL for a imagine displayed there – http to https) in multisite dashboard/themes/editor (context: theme editor) footer.php. I did, after more than 1 minute of ?updating” I get an error. And footer has disappeared from my site. I looked into cPanel (Hostgator) and the file footer.php was really empty (lucky I have backups). I tried with functions.php too, the same result.
    Why is this happening?
    Thanks, in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Richie KS

    (@rkcorp)

    that shouldn’t be happening.

    did you check the actual file via ftp, not via theme editor?

    it might show different version since its http vs https changes.

    check the actual file in theme folder first before any edits.

    Thread Starter Dan Caragea

    (@dancaragea)

    I checked now (function.php and footer.php) via cPanel and via theme editor. Both two files are identical.

    Thread Starter Dan Caragea

    (@dancaragea)

    I tried again (with WordPress 4.9.8 updated). The message is this:
    ?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.” – from WordPress 4.9 Administration.

    Theme Author Richie KS

    (@rkcorp)

    not sure about this, wordpress update should not be able or allow to overwrite themes php files. is this 2 file only affected?

    better reupload new version of the theme just in case, backup the old one first incase any edit needed to referred.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Delete php files on editing’ is closed to new replies.