[FIX] Fatal Error After WordPress W3 Total Cache Update

Can’t Login to your WordPress Dashboard after W3 Total Cache update? So here is the solution to fix this issue.
After updating W3 Total Cache I got the following error message

“Fatal error: Uncaught exception ‘FileOperationException’ with message ‘<strong> /home/geekyard/ public_html/wp-content/w3tc-config/ master.php</strong> could not be created, please run following command:<br /> <ul><li> <strong style=”color: #f00;”> chmod 777 /home/ geekyard/public_html/wp-content/cache/ tmp</strong></li> <li><strong style=”color: #f00;”>chmod 777 / home/geekyard/public_html/ wp-content/w3tc-config</strong></li>’ in /home/ geekyard/public_html/wp-content/plugins/ w3-total-cache/inc/functions/ activation.php:127 Stack trace: #0 /home/geekyard/ public_html/wp-content/plugins/ w3-total-cache/ lib/W3/ ConfigWriter.php(159): w3_throw_on_ write_error(‘/home/ geekyard/…’, Array) #1 /home/geekyard/ public_html/ wp-content/plugins/w3-total-cache/lib/W3/ Config.php(71): W3_ConfigWriter-> save() #2 /home/geekyard/ public_html/ wp-content/plugins/w3-total-cache/lib/W3/CloudFlare.php(174): W3_Config-> save() #3 /home/geekyard/ public_html/ wp-content/plugins/w3-total-cache/lib/ W3/Plugin/CloudFlare.php(52): W3_CloudFlare->update_ip_ranges() #4 /h in /home/geekyard/public_html/wp-content/plugins/w3-total-cache/inc/functions/activation.php on line 127″

Steps to Fix Fatal error after Total Cache update

  • Login to your FTP account and navigate to wp-content/plugins/w3-total-cache/inc/functions/activation.php
  • Comment out line 127 in “activation.php”
  • At beginning of line 127 type: /** 
Create a blank line 128 and type: */ as shown below

/** throw new FileOperationException($error, ‘create’, ‘file’, $path);

 photo FatalErrorAfterWordPressW3TotalCacheUpdate_zps275cbf4a.png

  • Save activation.php file.
  • Your dashboard will be back – Deactivate W3 Total Cache in your plugins section.
  • That’s it :)

Subscribe to receive more Adsense, SEO,Blog Hacks articles to your Inbox

Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

No Responses to “[FIX] Fatal Error After WordPress W3 Total Cache Update”

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>