Opened 14 years ago
Closed 14 years ago
#16630 closed defect (bug) (invalid)
Upgrade from 3.0.5 to 3.1 failed
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 3.1 |
Component: | Upgrade/Install | Keywords: | needs-patch |
Focuses: | Cc: |
Description
For one of my blogs, an upgrade from 3.0.5 to 3.1 failed.
I debugged the issue to wp_cache_flush() hanging during the upgrade process.
To get the DB upgrade to go thru, this is the hack that I did:
File: /wp-admin/includes/upgrade.php
Method: wp_upgrade()
Comment out the call to wp_cache_flush() in line 364.
The DB upgrade went thru properly and I was able to login again.
I have been using W3 Total Cache on my blog. I'm not sure if that is what was conflicting during the upgrade.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Please try the support forums. Yes this was likely due to W3TC. I've sent a note to the author but it is likely a rare bug as the plugin does work in 3.1.