Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #154492 Reply
    Doug Lebo
    Guest

    Wordpress not able to edit due to FATAL ERROR of W3 Total Cache Plug-in.

    Here is message I am getting:

    Error Details
    =============
    An error of type E_PARSE was caused in line 420 of the file /home/henegarc/public_html/wp-content/plugins/w3-total-cache/Generic_Plugin_AdminNotices.php. Error message: syntax error, unexpected ‘)’

    Configuration of Webpage:
    WordPress version 6.3.5
    Active theme: BardWP (version 1.3)
    Current plugin: W3 Total Cache (version 2.8.6)
    PHP version 7.2.34

    #154510 Reply

    Hello Doug,

    Thank you for reaching out and I am happy to help!
    I was not able to replicate this in the W3 Total Cache setups and I’ve checked the code and there are no syntax issues.
    Can you please download the config file in Performance>General settings, scroll down to Import Export and export the json
    1. 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.
    2. Delete wp-content files and folders
    – cache folder
    – w3tc-config folder
    – object-cache.php (if exists)
    – advanced-cache.php (if exists)
    – db.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

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: W3 Total Cache FATAL ERROR
Your information: