Wordpress: “Fatal error: Cannot redeclare pclziputilpathreduction()” in class-pclzip.php

by Hemanth on March 30, 2009

Today I was trying to upgrade one of  my Wordpress blogs to the latest version using the Wordpress Automatic upgrade option. But the upgrade failed with the following message:

Upgrade WordPress

Downloading update from http://wordpress.org/wordpress-2.7.1.zip
Unpacking the core update

Fatal error: Cannot redeclare pclziputilpathreduction() in /home/xxxxx/domain.com/wp-admin/includes/class-pclzip.php on line 5432

The Culprit!
I searched a bit and the solution was very simple. This error is caused by the plugin Wordpress Automatic Upgrade. This was a very useful plugin until Wordperss developers added the auto-upgrade feature as a native Wordpress functionality.

WP-Automatic-Upgrade

Solution
So in order to resolve the error “Fatal error: Cannot redeclare pclziputilpathreduction()” just deactivate the Wordpress Automatic Upgrade plugin from the Plugins sections in the Wordpress Admin Control Panel. Now may process with the Upgrade proess, it should work wiht out any errors.

wordpress-upgrade-success

//Note- This post is added to our errorDB.

Related Articles:

  • Upgraded to Wordpress 2.51
  • Upgrade to Wordpress 2.5 – A Big Change!
  • easyComment Add-on for Firefox – Automatically enter Name, Website & Email in Wordpress Blog Comments!
  • How to Post Code Snippets (HTMLPHPCSS) in Wordpress Posts?
  • Wordpress v2.0.5 (Ronan) Released
  • { 1 comment… read it below or add one }

    CD Winston May 29, 2009 at 5:14 am

    I am having this same problem but I DO NOT have this plugin listed on my plugins page … I have also double checked via my FTP program. I don’t have this plugin and yet I’m getting this error. Any suggestions? Thanks, CD

    Reply

    Leave a Comment