WPIntell

Source evidence

Custom PHP settings – can’t delete plugin

Custom PHP Settings · support · 2019-10-27T01:26:00+00:00

questionsentiment
mediumseverity
0.85relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 25 rows with source links

16.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

21 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
mdeerbon resolved
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. Hello 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? Regards, Krister 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 6 years, 7 months ago by 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 6 years, 7 months ago by sokichini .

Comments

4 shown
cyclonecode 2019-10-27T15:10:00+00:00

Hello 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? Regards, Krister

cyclonecode 2019-10-28T23:34:00+00:00

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 6 years, 7 months ago by cyclonecode .

cyclonecode 2019-10-29T07:43:00+00:00

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.

sokichini 2019-10-29T08:35:00+00:00

@cyclonecode It work! Thanks This reply was modified 6 years, 7 months ago by sokichini .