W3 Total Cache
[resolved] Fatal after upgrade (2 posts)

  1. Joshua Lyman
    Posted 2 years ago #

    Immediately after upgrading to version I get a fatal error that kills anything. Turning on debug mode and checking logs revealed the following:

    PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Cannot redeclare class w3_pgcache in /wp-content/plugins/w3-total-cache/inc/define.php on line 1370

    My stopgap solution was to wipe the current w3tc plugin folder and replace it with, though I'm not sure if there were DB modifications that may have changed things otherwise. At least it loads now.

    Thanks for all your hard work on this amazing plugin, hope this gets resolved soon!


  2. Frederick Townes
    Plugin Author

    Posted 2 years ago #

    Best guess is that there were an old drop in wp-content that caused this issue. The latest release version has a better include check to prevent these redeclare issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic