• Resolved svivian

    (@svivian)


    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

    (@vmarko)

    Hello @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 and install it.
    Please let me know if this helps!
    Thanks!

    Thread Starter svivian

    (@svivian)

    Thanks, using the older version fixed it.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @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.