Topic Resolution: Resolved
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #34248
    Mitchell Bernard

    The email link for intializing recovery mode gives this message: Recovery Mode not initialized.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.6.2
    Current theme: OceanWP (version 2.0.2)
    Current plugin: W3 Total Cache (version 2.1.1)
    PHP version 7.4.11

    Error Details
    An error of type E_ERROR was caused in line 158 of the file /home/custo150/public_html/wp-content/plugins/w3-total-cache/Cache_File.php. Error message: Illegal length modifier specified ‘f’ in s[np]printf call

    Marko Vasiljevic

    Hello Mitchell,

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    Can you please completely remove W3 Total Cache and re-install it and once the plugin is reinstalled make sure that Object Cache and Database Cache are not enabled in the General settings especially if on shared hosting and if caching to disk and see if the issue persists:
    1. Check .htaccess File (make a backup)
    W3TC will create many directives in the .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.
    2. 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/plugins/ (if exists)
    3. 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.
    4. Go to your wp dashboard and re-install W3 Total Cache, and as I mentioned, make sure that Object Caching and Database Caching are disabled if on shared hosting plan and if caching to disk.

    Mitchell Bernard

    Thank you for responding. Before I wrote to you, I had already done this:”Can you please completely remove W3 Total Cache and re-install it and once the plugin is reinstalled make sure…” And was able to do so because my host (InMotionHosting) deactivated the plugin.
    However, as soon as I reinstalled W3 (for the purpose of changing settings), my wordpress dashboard crashed. When I tried the email link for initializing recovery mode, it showed this message: “Recovery Mode not initialized.”
    How can I get my wp-login to work or get to my dashboard?

    Marko Vasiljevic

    Hello Mitchell,

    Simple deactivation of the plugin is not sufficient.
    Please follow the steps provided and completely remove everything related to W3 Total Cache.
    Once that’s done, install W3 Total Cache without any leftover files remaining and make sure not to use Object Caching and Database caching if on shared hosting and if caching to Disk.

    Mitchell Bernard

    You have not provided any method to get back onto my wordpress dashboard. When I try login ( or I continue to get the error message: “There has been a critical error on this website. Please check your site admin email inbox for instructions.” but have not received a new email regarding this problem.

    I would like to take the steps you recommended. Do you have a tech person with a bit more in depth or detailed method to get into my dashboard?

    Marko Vasiljevic

    Hello Mitchell,

    The provided steps need to be taken first in order to access your dashboard. So to access your dashboard you need to manually delete those files from the server following the steps provided.
    Once those files are deleted, you can then access the dashboard and re-install W3TC and making sure that OC and DB Cache are not enabled.
    What hosting support did is most probably disabled the plugin by renaming it in the wp-content/plugins/
    The problem is that the settings you enabled are still in wp-content/w3tc-config/master.php and the cached files are in the /cache/ folder.

    Mitchell Bernard

    By using Filezilla, I went to public.html/wp-content/plugins/ and deleted W3 (over 700 files in over 600 directories).

    I was able to get back into my WP dashboard and added the W3 Total Cache plugin. Once installed, I clicked Activate and the dashboard crashed, leaving this message on the screen: “There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.” However, after a 5 minute wait, no email has been received.

    Having tried your solution twice, I hope you have another method of getting my WP dashboard back – should I do this again: using Filezilla, go to public.html/wp-content/plugins/ and delete W3 folder?

    Marko Vasiljevic

    Hello Mitchell,
    Thank you for the information.
    I’ve checked your website and as I can see the website is accessible as well as the and W3 Total Cache is active on your website.

    Performance optimized by W3 Total Cache. Learn more:
    Page Caching using disk: enhanced 
    Content Delivery Network via N/A
    Lazy Loading
    Minified using disk
    Served from: @ 2021-02-24 19:55:39 by W3 Total Cache

    Can you please confirm that you are still experiencing the issue?


    Finally got it reset. Thanks.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] activation W3 caused site error, no access’ is closed to new replies.