Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, can you carry out the following test. Can you disable all your other plugins except this one and try to save the settings again.

    Hi emadfathy,

    The “Disable File Editing” option is not saved in database, but in wp-config.php file. If you cannot change this option via plugin interface, you can edit the file yourself – you only need to remove the following line (or replace true with false):

    define('DISALLOW_FILE_EDIT', true);
    

    Cheers,
    ?eslav

    Hello,

    I am also having the same problem. I edited the wp-config as instructed but it did not work. I then replaced all core wp files (except wp-config) and deleted the plugin and still I cannot access the editor.

    Any advice?

    Thank you,
    Archie

    Hi Archie,

    If there’s no define('DISALLOW_FILE_EDIT', true); line in your wp-config.php file, then perhaps some other plugin is hiding editor page in admin menu. Can you try, if you can access https://www.example.com/wp-admin/plugin-editor.php directly? Of course, replace “https://www.example.com/” with your site address.

    Cheers,
    ?eslav

    Unfortunately, it is still not working. I disabled all plugins and tried to manually navigate to the editor and still nothing. ?? I even tried to check the functions.php file of the theme and nothing there either.

    I found the issue but not sure what caused it. Many of my php files were compromised recently due to a weird wordpress hack. One I’ve never encountered before. I cleaned all files (so I thought) but saw my “elegant themes updater” and “elegant themes support” plugins both contained the malicious code. I removed it and saved and the editor reappeared. Not sure what in all in one read that code to disable the editor because the initial hack did not do that but the issue seems to be resolved now.

    I had all in one installed when the hack got through initially and I can post the malicious code if it may help you improve the plugin. I enable a few more security features of the plugin since the hack so hopefully it will be fine now.

    Thank you,
    Archie
    WhatsTheMove.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Enable Ability To Edit PHP Files Problem’ is closed to new replies.