Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34653
    R
    Guest

    Firstly my site stopped to work correct when I enabled lazyload, I deactivated and deleted plugin, romoved all its folders and files, but now
    whenever I try to reinstall the plugin I get:
    Fatal error: Call to undefined function W3TC\wp_unslash() in /home/mysite/webapps/mysite/wp-content/plugins/w3-total-cache/SetupGuide_Plugin_Admin.php on line 909

    #34681
    Marko Vasiljevic
    Keymaster

    Hello,

    I am sorry about the issue you are experiencing and I am happy to assist you with this.

    Can you please make sure that all files are completely removed before reinstalling the plugin?

    1. Purge Cache
    2. Deactivate and Delete Plugin
    3. 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.
    4. 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)
    5. Delete Cached Files from CDN (if using CDN)
    Besides deleting all the relevant files, if you use CDN then ensure to purge the cached content from your CDN. This is necessary when you enabled minify option in W3TC settings. You should delete the minified and combined scripts and CSS files from your CDN server to avoid the site breaking on the browser.
    6. Go to your wp dashboard and re-install W3 Total Cache
    Thanks!
    
    

     

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Fatal error’ is closed to new replies.