[Solved – Error when upgrading from wordpress 2.8.1 to 2.8.2 or from 2.8.2 to 2.8.3]Incompatible archive PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

While upgrading wordpress from 2.8.1 to 2.8.2 or 2.8.2 to 2.8.3 (or any other versions) i got this error saying:

Upgrade WordPress

Downloading update from https://wordpress.org/wordpress-2.8.2.zip / 2.8.3.zip

Unpacking the update.

Incompatible archive: PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

Installation Failed

With the release of wordpress 2.8 there is an error while installing some plugins or anything on the wordpress from admin panel. This error was not fixed till wp 2.8.1

The error can be solved by downloading this new http.php file from official WordPress site and over writing it on your current file.

https://core.trac.wordpress.org/export/11450/trunk/wp-includes/http.php

Hope it solves the issue.

Please note, if you have recently upgraded your wordpress and are getting this issue (if you have solved it last time) make sure that you have replaced the http.php file in your wordpress with the above file again.

If you are still facing the pclzip_err_bad_format (invalid archieve structure) error when you upgrade the wordpress, please make the backup of your current wordpress install and do the manual upgrade. You can see the article on manual upgrade in the related articles.

This will solve the issue with upgrade from 2.8.1 wordpress version to 2.8.2 or from 2.8.2 to wordpress version 2.8.3

hire best wordpress php css developer
Need Help? Hire me now!
I can help you in anything related to webdevelopment, including: HTML, CSS, PHP & MySql, WordPress (plugins & themes development, others), regular expressions, server management, etc.

9 comments on “[Solved – Error when upgrading from wordpress 2.8.1 to 2.8.2 or from 2.8.2 to 2.8.3]Incompatible archive PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

  1. I’ve had the same problem upgrading from 2.9.2 to 3.0. Replacing the http.php file does not help.

    I believe this can also be caused by a lack of disk space on the server but in my case that’s not a problem as far as I can see.

    Manual upgrade seems to be the last resort…

    1. it does mention to :

      First thing first again! make sure you made a backup of your files and database before before trying to upgrade from WordPress version 2.9.x to WordPress 3.0.

Leave a Reply

Your email address will not be published.