Title: Cannot enable plugin
Last modified: April 14, 2019

---

# Cannot enable plugin

 *  Resolved [moewang](https://wordpress.org/support/users/moewang/)
 * (@moewang)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/cannot-enable-plugin-3/)
 * Hello, I found that I can’t enable this plugin after upgrading to 12.6.3. Hint:
   The plugin cannot be enabled because it caused a fatal error.
    Warning: require_once(
   D:\Website\Blog\wp-content\plugins\wp-statistics/includes/classes/class-wp-statistics.
   php): failed to open stream: No such file or directory in D:\Website\ Blog\wp-
   content\plugins\wp-statistics\wp-statistics.php on line 14
 * Fatal error: require_once(): Failed opening required ‘D:\Website\Blog\wp-content\
   plugins\wp-statistics/includes/classes/class-wp-statistics.php’ (include_path
   =’.;C:\php \pear’) in D:\Website\Blog\wp-content\plugins\wp-statistics\wp-statistics.
   php on line 14
    what happened? I am using wordpress5.1.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Mehrshad Darzi](https://wordpress.org/support/users/mehrshaddarzi/)
 * (@mehrshaddarzi)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/cannot-enable-plugin-3/#post-11426058)
 * [@moewang](https://wordpress.org/support/users/moewang/)
 * Hi,
    please check path of D:\Website\ Blog\wp-content\plugins\wp-statistics\wp-
   statistics.php in your system and Remove Space in Blog for example : D:\Website\
   Blog\wp-content\ to D:\website\blog\wp-content. What software do you use for 
   localhost (xampp or …)? it seems there is a problem in config Server.
 *  Thread Starter [moewang](https://wordpress.org/support/users/moewang/)
 * (@moewang)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/cannot-enable-plugin-3/#post-11446611)
 * [@mehrshaddarzi](https://wordpress.org/support/users/mehrshaddarzi/)
    I just 
   updated this plugin and this happened. I used the iis7.5 to build the website.
   I didn’t have this problem. After updating it, the default plugin is closed. 
   Open it and report an error. Sorry for the late reply, I will try to reinstall
   the plugin.
 *  Thread Starter [moewang](https://wordpress.org/support/users/moewang/)
 * (@moewang)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/cannot-enable-plugin-3/#post-11446760)
 * [@mehrshaddarzi](https://wordpress.org/support/users/mehrshaddarzi/)
    It is not
   possible to delete the reload from the dashboard, and use the remote desktop 
   connection to delete it. I guess the last time I can’t get the visitor IP, I 
   listened to your suggestion and modified a line of code, causing the file (wp-
   statistics.php) permission to be changed (because I created a new file and then
   put the contents of the original file) Copy it in, then change it to wp-statistics.
   php, the original one adds an old), causing confusion. When upgrading, WordPress
   can’t overwrite wp-statistics.php, resulting in wp-statisics.php after upgrade.
   The original, can not be enabled. Thank you.
 *  Thread Starter [moewang](https://wordpress.org/support/users/moewang/)
 * (@moewang)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/cannot-enable-plugin-3/#post-11446761)
 * [@mehrshaddarzi](https://wordpress.org/support/users/mehrshaddarzi/)
    It is not
   possible to delete the reload from the dashboard, and use the remote desktop 
   connection to delete it. I guess the last time I can’t get the visitor IP, I 
   listened to your suggestion and modified a line of code, causing the file (wp-
   statistics.php) permission to be changed (because I created a new file and then
   put the contents of the original file) Copy it in, then change it to wp-statistics.
   php, the original one adds an old), causing confusion. When upgrading, WordPress
   can’t overwrite wp-statistics.php, resulting in wp-statisics.php after upgrade.
   The original, can not be enabled. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cannot enable plugin’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [moewang](https://wordpress.org/support/users/moewang/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/cannot-enable-plugin-3/#post-11446761)
 * Status: resolved