WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Fatal error (9 posts)

  1. Paul Sutherland
    Member
    Posted 1 year ago #

    I tried to upgrade and got this message:

    "Plugin failed to reactivate due to a fatal error.

    Fatal error: Uncaught exception 'FileOperationException' with message '/home/skymania/public_html/wp/wp-content/w3tc-config/master.php could not be created, please run following command:

    • <strong style="color: #f00;">chmod 777 /home/skymania/public_html/wp/wp-content/cache/tmp
    • <strong style="color: #f00;">chmod 777 /home/skymania/public_html/wp/wp-content/w3tc-config
    • ' in /home/skymania/public_html/wp/wp-content/plugins/w3-total-cache/inc/functions/activation.php:127 Stack trace: #0 /home/skymania/public_html/wp/wp-content/plugins/w3-total-cache/lib/W3/ConfigWriter.php(159): w3_throw_on_write_error('/home/skymania/...', Array) #1 /home/skymania/public_html/wp/wp-content/plugins/w3-total-cache/lib/W3/Config.php(71): W3_ConfigWriter->save() #2 /home/skymania/public_html/wp/wp-content/plugins/w3-total-cache/lib/W3/CloudFlare.php(174): W3_Config->save() #3 /home/skymania/public_html/wp/wp-content/plugins/w3-total-cache/lib/W3/Plugin/CloudFlare.php(52): W3_CloudFlare-> in /home/skymania/public_html/wp/wp-content/plugins/w3-total-cache/inc/functions/activation.php on line 127"

      But trying to delete the plugin gives this: W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /home/skymania/public_html/wp/wp-content/db.php.

      Not sure what to do. I'm concerned that so many people are reporting the plug-in as broken.

      Paul

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. els4vents
    Member
    Posted 1 year ago #

    http://wordpress.org/support/topic/i-upgraded-to-the-latest-version-and-lost-the-dashboard?replies=1

    exactly the same message, but I can not even access dashboard and unistal

  3. petejoe43
    Member
    Posted 1 year ago #

    Received a fatal error that completely disabled plug in. Please Help!!
    Plugin failed to reactivate due to a fatal error.

    Fatal error: Uncaught exception 'FileOperationException' with message '/home/vipvalid/public_html/gunrightsforall.com/wp-content/w3tc-config/master.php could not be created, please run following command:

    • <strong style="color: #f00;">chmod 777 /home/vipvalid/public_html/gunrightsforall.com/wp-content/cache/tmp
    • <strong style="color: #f00;">chmod 777 /home/vipvalid/public_html/gunrightsforall.com/wp-content/w3tc-config
    • ' in /home/vipvalid/public_html/gunrightsforall.com/wp-content/plugins/w3-total-cache/inc/functions/activation.php:127 Stack trace: #0 /home/vipvalid/public_html/gunrightsforall.com/wp-content/plugins/w3-total-cache/lib/W3/ConfigWriter.php(159): w3_throw_on_write_error('/home/vipvalid/...', Array) #1 /home/vipvalid/public_html/gunrightsforall.com/wp-content/plugins/w3-total-cache/lib/W3/Config.php(71): W3_ConfigWriter->save() #2 /home/vipvalid/public_html/gunrightsforall.com/wp-content/plugins/w3-total-cache/lib/W3/CloudFlare.php(174): W3_Config->save in /home/vipvalid/public_html/gunrightsforall.com/wp-content/plugins/w3-total-cache/inc/functions/activation.php on line 127
  4. xgenblogger
    Member
    Posted 1 year ago #

    Solution:

    Go to /wp-content/plugins/w3-total-cache/inc/functions/
    Look for activation.php and
    Open it in code editor through your Cpanel or FTP access.

    At beginning of line no. 127 type: /* and at the end type */

    it looks like -

    /*throw new FileOperationException($error, 'read', 'file', $path);*/

    Save the file.

    Now you can login to dashboard, deactivate w3 total cache plugin.

    Now remove the /* and */ you added before,
    save the file again.

    Go to dashboard activate plugin and you're good to go

    [Via] member VivaWP, Thread: http://wordpress.org/support/topic/w3tc-0928-killed-my-backend

  5. digitalsea
    Member
    Posted 1 year ago #

    Thanks for answer xgenblogger, I followed your solution and worked!

  6. Q Ball
    Member
    Posted 1 year ago #

    Thank you xgenblogger. worked like a charm.

  7. peter devine
    Member
    Posted 1 year ago #

    Thanks xgenblogger - great stuff: Fixed my issue. It would be great if someone who knows could explain how the problem came to exist in the first place.

  8. xgenblogger
    Member
    Posted 1 year ago #

    @Peter

    Not sure but i think it happened because while updating plugin it failed to properly activate itself therefor fatal error occurred. What we have done is manually activated plugin.

    That's all i know, wordpress developer or any geek can explain it well.

  9. Todd
    Member
    Posted 1 year ago #

    I did the fix mentioned above which got me into the admin, and I can navigate to pages, but i still can not navigate to my posts. any suggestions on how fixthis?

    thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic