I was attempting to update from the WordPress trunk, I believe, today. In the bottom right hand corner of the admin panel, you can see the following.
You are using a development version (2.7-beta3). Cool! Please stay updated.
I click on stay updated and I get to the admin page for updates in 2.7. I had two choices, Upgrade Automatically or Download nightly build. I thought the Upgrade automatically would take care of the process for me and being as lazy as I am, I clicked it.
But alas, it did not work for me. I got the following scary error!
Fatal error: Cannot redeclare pclziputilpathreduction() (previously declared in /homepages/468/b1298473934/htdocs/r/wp-content/plugins/wordpress-automatic-upgrade/lib/pclzip.lib.php:5421) in /homepages/468/b1298473934/htdocs/r/wp-content/admin/includes/class-pclzip.php on line 5498
A quick search revealed nothing to me. But then another quick search did.
Apparently, it has something to do with the WPAU plug in and the folders? I’m not exactly sure since there isn’t anything pertaining to 2.7 directly, but at least I know I’m not the only one.
If I find anything else out, I’ll update this post. WordPress 2.7 will probably come out before I fix the problem though. I might try to upload a nightly build though. I’ve never done it, but it might be worth a try.
Updates – The Fix
Along with the comments below, I figured out how to update your WordPress 2.7. If you have the formerly wonderful plugin WordPress Automatic Upgrade, deactivate it. Then proceed to update WordPress. It’ll work without errors. WordPress 2.7 introduces a new feature: no need to update by hand. So in otherwords, the WPAU plugin is no longer needed! (But thank you, WPAU plugin, for all of your hard work.)
“Deactivate” WPAU, and then try again to upgrade from within WordPress. It worked for me.
Yeah, that worked. I guess that WPAU isn’t ready for 2.7, yet.
[...] Den schlausten Menschen der Welt gefragt und Google brachte dann auch gleich diesen Artikel, der beschreibt, wie man damit umgehen muss. Einfach WordPress Automatic Update (WAU) [...]
Yes, it worked for me too. Thank you!
[...] 升级到wordpress2.7汉化版时出错Fatal error: Cannot redeclare pclziputilpathreduction [...]
Ah, yes. That fixed it for me. Thanks for sharing.
Anthony
Wow. Thanks for the tip. Absolutely fixed my issue.
Many thanks! This did the trick for me!
Thanks for the fix it has worked for me :)
Thanks a lot, it worked :D
thank you!
Perfect! Worked for me upgrading to 2.7.1. Thank you very much!
By the way, you’re the first result in Google when searching for this error. Congrats! ;)
Glad I could help!
Thanks for the info too ;D
Thanks! That saved what probably would have been a lot of hassle tracking this one down.
Thanks. Helped me out as well. But it makes me recall I guess something I read about making the automatic upgrade plugin as part of the core code. Is that it or am I just day dreaming?
You’re not day dreaming. 2.7 has built auto upgrade support in now so you shouldn’t need to do it manually anymore.
[...] to this topic and this post it was caused by the WP Automatic Upgrade plugin wich i forgot to remove when upgrading to WP2.7, [...]
Thanks for the fix. WordPress is getting easier and easier to upgrade at last.
Wow, thanks… that worked!
how do you upgrade to WP 2.7 with in wordpress?
I don’t think you can. WordPress said that the jump from 2.6.x to 2.7 will be the last painful upgrade because they now have auto-upgrade built it.
Take a look at http://lorelle.wordpress.com/2008/12/11/wordpress-27-upgrade-tips/ if you’re upgrading from 2.6.x.
I sure hope WP eventually makes their auto-update as easy to use as WPAU. I kept getting very unhelpful error messages and finally got it to work, but not before being left with several directories’ worth of files with wide open permissions. Not anywhere near as easy to use as WPAU was.
I’m sorry to hear that but I’ve never had any problems with it. Are the messages you get WordPress Error messages or PHP Error messages?
Beautiful, upgrade worked in a few seconds after i followed your advice. Hope WPAU gets an upgrade soon as well, as I had used that for the better part of the year before this error happened.
Thanks!
[...] To fix this I had to turn off the ‘WordPress Automatic Upgrade Plugin’ that was formerly required for automatic updates. More details here. [...]
Thanks!
Tks! Deactivate WPAU, and then try again to upgrade from within WordPress. It worked for me too.
Thanks, it worked for me. For a sec, i was afraid of what was happening before i yahooed the error and came to your site.
Brilliant! Thanks a ton
Thanks! Worked great!
[...] 最开始以为是服务器的链接有问题,试了很多次仍是如此。交给狗狗后知道原来是以前的自动升级插件与现在Wordpress自带的升级系统冲突,将WPAU插件取消激活后问题得到解决。升级时Dashboard上的侧边菜单在完成Upgrade的那瞬间在Firefox下显示完好,但完成后还是跟之前一样,下拉菜单仍然乱乱的。 [...]
Thanks mate, worked.
Wow. That was ridiculously simple. I cant believe all the other stuff I’ve read got so technical.
Thanks.
Who got technical? Have a link?
Glad I could help.
Thank you so much. I have been banging my head for a couple of days now trying to upgrade to 2.7.1. Feel kinda silly it was that simple, although I have come across several plugin incompatibility issues with 2.7. Should have known to go straight to deactivating plugins.
Anyway, thanks again!
[...] La solución sin embargo no fue tan difícil, basta con desactivar ese poderosísimo plugin llamado WPAU (WordPress Automatic Upgrade) y luego intentar nuevamente actualizar automáticamente y no nos aparecerá ningún error. [...]
Thanks so much – worked just fine for me!
Worked like a charm for me too. Thanks for the post! 2.7.1 working perfectly!
Thank you for sharing this – I was pulling my hair out – brilliant!
Worked like a champ. Thanks for the research!
[...] 参考的这篇文章,正如这篇文章讲的 If you have the formerly wonderful plugin WordPress Automatic Upgrade, deactivate it. Then proceed to update WordPress. It’ll work without errors. WordPress 2.7 introduces a new feature: no need to update by hand. So in otherwords, the WPAU plugin is no longer needed! (But thank you, WPAU plugin, for all of your hard work.) [...]
Thank you! This was the upgrade fix.
I appreciate you posting the update and fix. Thanks!
Thanks – didn’t have a problem with 2.7, but 2.7.1 vexed me mightily! Appreciate the fix!
it’s so nice to find instant solutions – thx Ryan!
also (could be coincidence ??), but it didn’t work right away for me – i had to also deactivate WP Database Backup plugin. Of course, i also deactivated other plugins at the same time but since they’ve given me no conflicts previously, I’m guessing it was a tandem solution with WPAU and WPDB – at least, in my case…
THANKS again!
PS
…it seems that i had to deactivate ALL of my “WP-” plugins to get rid of the error, then re-activate them afterwards. (hmmm)
…haven’t had this problem with any other of my blogs..???
I think that if any plugin would do maintenance work to the WP database or WP core (WPAU), it would fail. In WordPress 2.8, I hope they come out with a backup system built in.
Thank you, thank you, THANK YOU!!!! I was racking my brain over this one. Found you via Google search–you were first result for the error message.
[...] error: Cannot redeclare pclziputilpathreduction()[/lang]According to this topic and this post it was caused by the WP Automatic Upgrade plugin wich i forgot to remove when upgrading to WP2.7, [...]
Thanks for the hint!
Thank you so much!! I was confounded by that message too – didn’t imagine the solution would be this simple. Followed your advice and it worked like a charm.
Thanks this helped
Thanks, this fixed it without any problems.
It really worked for me as described above, on a Windows Server hosting isqsolutions.com.