wibbler
Member
Posted 3 months ago #
When I try to upgrade plugins automatically in the latest version of Wordpress (is this the first 2.5 problem on the forums?! Woo!) I get this error:
Fatal error: Cannot redeclare class pclzip in /usr/local/psa/home/vhosts/xxx.xxx/httpdocs/wordpress/wp-admin/includes/class-pclzip.php on line 162
Any ideas?
mathew@mathewingram.com
Member
Posted 3 months ago #
I got the same thing. It happens because another plugin has pclzip activated and running already -- likely Wordpress Automatic Upgrade. Just deactivate that plugin and it should work fine.
paulroberts
Member
Posted 3 months ago #
I deactivated all plugins and it worked but it will be a pain to do it every time i need to update just one plugin.
Pyrmont
Member
Posted 3 months ago #
If you update Wordpress Automatic Upgrade to their latest version it appears to play nice with 2.5's plugin updating! :)
wibbler
Member
Posted 3 months ago #
Thanks all - it WAS Wordpress Automatic Upgrade. I deactivated it, updated it automatically, and reactivated. All updates now work. Thanks!
awarner20
Member
Posted 3 months ago #
Thanks for posting here guys, I was trying to investigate why my "add media" button was missing, so i wanted to update all my plugins and came across this error. Upgrading WPAU allowed me to upgrade the other plugins and determine that the plugin causing my "add media" buttons to go away was WP-Amazon. Deactivated that, and pow, "add media" is back:)