Support » Plugin: Custom PHP Settings » Custom PHP settings – can’t delete plugin

  • Resolved mdeerbon


    I can’t un-install Custom PHP settings.
    I had installed the plugin, thinking it might be able to help with php settings, (where I was having trouble uploading another plugin), but it didn’t. Now I want to uninstall it, and all it does is says “Deleting … ” (in red), but ultimately, isn’t deleted.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author cyclonecode



    This seems very strange. I have not seen this behavior before. I will try setup a local installation and see if I can replicate this error and get back to you as soon as possible. What version of Custom PHP Settings are you using?


    Plugin Author cyclonecode


    Hi again

    I have looked into this and found out that the reason was that the callback registered using register_uninstall_hook() must be static. I have made an update that solves this issue and it will be included in the next release.

    Right now you can just remove any custom settings from your .htaccess file manually and then remove the plugin folder i.e wp-content/plugins/custom-php-settings although this will leave any settings in the database.

    • This reply was modified 2 years, 1 month ago by cyclonecode.
    Plugin Author cyclonecode


    I have now added an updated which solves this issue. You should be able to simply update the plugin to version 1.2.6 and then you can delete it successfully.

    @cyclonecode It work! Thanks

    • This reply was modified 2 years, 1 month ago by sokichini.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom PHP settings – can’t delete plugin’ is closed to new replies.