Fix UNINSTALL_WPSUPERCACHE Must Be Set To A Non-blank Value
By on May 17th, 2011

In my post about Techie Buzz’s Architecture, I had stated that I used a WordPress plugin for caching   called W3 Total Cache. I love that plugin and have been using it for over a year now. However, prior to that I used another popular caching plugin called WP Super Cache which did the job well too.

However, I removed the plugin for some reasons and started using W3 Total Cache instead. Today, while performing a regular maintenance, I decided to remove plugins that I am not using anymore. One of the plugins I was removing was WP Super Cache. However, while uninstalling the plugin I was getting an error:

UNINSTALL_WPSUPERCACHE must be set to a non-blank value in uninstall.php

The problem was that it was looking for a non-empty value for a field. Now, I could have simply deleted the plugin folder using FTP, however, it would mean that there would be unwanted settings and files lying around on the server. However, I   was able to fix the error and uninstall the plugin.

If you are looking to fix this issue, here are the steps you need to follow:

Step 1: Use FTP or WordPress inbuilt plugin editor to edit the wp-super-cache/uninstall.php file.

Fix WP Super Cache Uninstall Problem

Step 2: Find the text

define( ‘UNINSTALL_WPSUPERCACHE’, ” );

and replace it with

define( ‘UNINSTALL_WPSUPERCACHE’, ’1′ );

Save the file and try to uninstall the plugin again. It should work this time. Additionally, make sure to follow the other uninstallation notes for WP Super Cache too.

Tags: , , ,
Author: Keith Dsouza Google Profile for Keith Dsouza
I am the editor-in-chief and owner of Techie Buzz. I love coding and have contributed to several open source projects in the past. You can know more about me and my projects by visiting my Personal Website. I am also a social networking enthusiast and can be found active on twitter, you can follow Keith on twitter @keithdsouza. You can click on my name to visit my Google+ profile.

Keith Dsouza has written and can be contacted at keith@techie-buzz.com.

Leave a Reply

Name (required)

Website (optional)

 
    Warning: call_user_func() expects parameter 1 to be a valid callback, function 'advanced_comment' not found or invalid function name in /home/keith/techie-buzz.com/htdocs/wp-includes/comment-template.php on line 1694
 
Copyright 2006-2012 Techie Buzz. All Rights Reserved. Our content may not be reproduced on other websites. Content Delivery by MaxCDN