Title: Fatal error when activating
Last modified: October 2, 2020

---

# Fatal error when activating

 *  Resolved [svivian](https://wordpress.org/support/users/svivian/)
 * (@svivian)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-65/)
 * I’m trying to install W3TC (v0.15.0). The plugin installed OK but when activating
   I get this error:
 * > Plugin could not be activated because it triggered a fatal error.
   > then re-activate plugin
 * (“re-activate plugin” is a button)
 * But no actual error message is shown, nor do I have anything in my server error
   logs. How do I find out what’s wrong?
 * Server is nginx with PHP 7.2. I used SFTP (ssh2 plugin) to install W3TC so perhaps
   there is some file permissions error somewhere, but I tried going back to ‘direct’
   and chmod-ing the W3TC plugin folder, still no luck.
 * Strange thing is I have the same plugin installed on another site on the same
   server, so really not sure what the problem could be.

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-65/#post-13484084)
 * Hello [@svivian](https://wordpress.org/support/users/svivian/)
 * I am sorry about the issue you are experiencing and I am happy to assist you 
   with this.
    Can you please try to remove the plugin: 1. Deactivate and Delete
   Plugin 2. Check .htaccess File (make backup) W3TC will create many directives
   in .htaccess file to control the caching behavior. Each section will start and
   end with comments like “#BEGIN W3TC Page Cache core” and “#END W3TC Page Cache
   core”. Ensure that no residual entries are left over in your .htaccess file after
   deleting the plugin. 3. Delete wp-content files and folders – cache folder – 
   w3tc-config folder – object-cache.php (if exists) – advanced-cache.php (if exists)–
   dbcache.php (if exists) – upgrade folder – delete w3-total-cache folder in wp-
   content (if exists) Then, please download the previous version of the plugin 
   which you can find [here](https://downloads.wordpress.org/plugin/w3-total-cache.0.14.4.zip)
   and install it. Please let me know if this helps! Thanks!
 *  Thread Starter [svivian](https://wordpress.org/support/users/svivian/)
 * (@svivian)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-65/#post-13484743)
 * Thanks, using the older version fixed it.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-65/#post-13484858)
 * Hello [@svivian](https://wordpress.org/support/users/svivian/)
 * Thank you for the information.
    We are going to fix this in the next patch release
   so stay tuned. I believe that you can update the plugin to the latest 0.15.0 
   with no issues. Also, make sure to update your PHP when you have a chance. Thanks!

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

The topic ‘Fatal error when activating’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [activate](https://wordpress.org/support/topic-tag/activate/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-65/#post-13484858)
 * Status: resolved