Title: Deleting a Plugin
Last modified: August 20, 2016

---

# Deleting a Plugin

 *  [NetworkProMaster](https://wordpress.org/support/users/networkpromaster/)
 * (@networkpromaster)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/deleting-a-plugin/)
 * Hello,
 * I tried to delete a plugin WP Statistics, but every time I try to delete it I
   get this error message. Can anyone tell me how to delete this plugin?
 * Warning: require(../../../wp-load.php) [function.require]: failed to open stream:
   No such file or directory in /home2/myecashs/public_html/blog/wp-content/plugins/
   wp-statistics/uninstall.php on line 2
 * Warning: require(../../../wp-load.php) [function.require]: failed to open stream:
   No such file or directory in /home2/myecashs/public_html/blog/wp-content/plugins/
   wp-statistics/uninstall.php on line 2
 * Fatal error: require() [function.require]: Failed opening required ‘../../../
   wp-load.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home2/myecashs/
   public_html/blog/wp-content/plugins/wp-statistics/uninstall.php on line 2

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/deleting-a-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/deleting-a-plugin/page/2/?output_format=md)

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2548815)
 * Have you gone into the plugins folder and deleted it?
 *  Thread Starter [NetworkProMaster](https://wordpress.org/support/users/networkpromaster/)
 * (@networkpromaster)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2548938)
 * Yes, I did. That was the first thing I did.
 *  [Ronja369](https://wordpress.org/support/users/ronja369/)
 * (@ronja369)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549104)
 * I got the same problem. Anyone?
 *  [Emguth](https://wordpress.org/support/users/emguth/)
 * (@emguth)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549105)
 * Where is my plug ins folder?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549106)
 * Please post a new topic.
 *  Thread Starter [NetworkProMaster](https://wordpress.org/support/users/networkpromaster/)
 * (@networkpromaster)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549107)
 * I still haven’t gotten an answer about that yet. I still got this plugin on my
   blog and don’t know how to get it off. And yes Kmessinger I did try deleting 
   it already.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549108)
 * Try [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by PhpMyAdmin.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549109)
 * I meant go into the plugins folder itself by ftp, not thru the dashboard which
   you all ready tried.
 *  [JiveCo](https://wordpress.org/support/users/jiveco/)
 * (@jiveco)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549127)
 * Here is the way I deleted it.
 * The bug comes from the fact that a wrong path is indicated to find the uninstall
   file.
 * You need 2 tools:
 * 1. An FTP software like FileZilla to download the file to correct and to reupload
   it (you can also use the Web-FTP of your host).
 * 2. Notepad or any software enabling you to edit the file.
 * The wrong file is located here in the following directory of your blog:
 * wp-content > plugins > wp-statistics
 * Its name is: uninstall.php.
 * Download it on your computer and edit it like this:
 * replace:
 * `require('../../../wp-load.php')`
 * on line 2, by:
 * `require($_SERVER['DOCUMENT_ROOT'].'/blog/wp-load.php')`
 * and then reupload it in the same place and try to uninstall the plugin again.
 * Let me know the result.
 *  Thread Starter [NetworkProMaster](https://wordpress.org/support/users/networkpromaster/)
 * (@networkpromaster)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549128)
 * Thanks
 *  [Ronja369](https://wordpress.org/support/users/ronja369/)
 * (@ronja369)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549143)
 * Didn’t wok for me 🙁
 *  [JiveCo](https://wordpress.org/support/users/jiveco/)
 * (@jiveco)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549144)
 * [@ronja369](https://wordpress.org/support/users/ronja369/): please give me more
   specifics in order to help you, especially the error message that you got.
 *  [Ronja369](https://wordpress.org/support/users/ronja369/)
 * (@ronja369)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549145)
 * Hi JiveCo. This the error:
 * Warning: require() [function.require]: Unable to access /public/sites/www.nameofmysite.
   com/blog/wp-load.php in /public/sites/www.nameofmysite.com/wp-content/plugins/
   wp-statistics/uninstall.php on line 2
 * Warning: require(/public/sites/www.nameofmysite.com/blog/wp-load.php) [function.
   require]: failed to open stream: No such file or directory in /public/sites/www.
   nameofmysite.com/wp-content/plugins/wp-statistics/uninstall.php on line 2
 * Fatal error: require() [function.require]: Failed opening required ‘/public/sites/
   www.nameofmysite.com/blog/wp-load.php’ (include_path=’.:/usr/share/php:/usr/share/
   pear’) in /public/sites/www.nameofmysite.com/wp-content/plugins/wp-statistics/
   uninstall.php on line 2
 *  [Ronja369](https://wordpress.org/support/users/ronja369/)
 * (@ronja369)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549146)
 * Should it work if I just trew away the whole wp-statistics plugin folder? Or 
   is that too tricky?
 *  [JiveCo](https://wordpress.org/support/users/jiveco/)
 * (@jiveco)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/deleting-a-plugin/#post-2549147)
 * The answer I did to NetworkProMaster was specific to his website.
 * I mean that his WordPress was contained in a directory named “blog”.
 * If your WordPress is located at the root of your website (which is my case, for
   instance), you have to replace:
 * require(‘../../../wp-load.php’)
 * on line 2, by:
 * require($_SERVER[‘DOCUMENT_ROOT’].’/wp-load.php’)
 * Did you notice: I have just taken “/blog” off from the line of code.
 * (throwing away the plugin folder does not seem to be a workable solution.)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/deleting-a-plugin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/deleting-a-plugin/page/2/?output_format=md)

The topic ‘Deleting a Plugin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 18 replies
 * 7 participants
 * Last reply from: [Harry Agustiana](https://wordpress.org/support/users/duniabloggers/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/deleting-a-plugin/page/2/#post-2549185)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
