WordPress.org

Support

Support » Plugins and Hacks » Fatal error

Fatal error

  • Paul Sutherland
    Member

    @paul-sutherland

    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/

Viewing 8 replies - 1 through 8 (of 8 total)
  • els4vents
    Member

    @els4vents

    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

    petejoe43
    Member

    @petejoe43

    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

    xgenblogger
    Member

    @xgenblogger

    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

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

    Thank you xgenblogger. worked like a charm.

    peter devine
    Member

    @peter-devine

    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.

    xgenblogger
    Member

    @xgenblogger

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

    Todd
    Member

    @absaroka

    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

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