How to fix "The package could not be installed. PCLZIP_ERR_BAD_FORMAT" in WordPress

Zip error

When trying to manually install a plugin or a theme in WordPress, you might sometimes get the following error message :

The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature


PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

They are two known causes for the above error message :

  1. You are trying to upload other than ZIP Compressed version ( what is a .zip file ? ). Other compression formats are not supported while uploading a theme or a plugin in wordpress. When installing any plugin or theme in WordPress, the file should be uploaded as .zip file.
  2. The .zip file is incomplete or corrupted. In this case you need to download a new version of the .zip file for the theme or plugin that you're trying to install, and upload it again in WordPress.

Note for Apple device users : If you are using an ios device like a Mac, you might need to change your preferences in Safari to stop unzipping the file automatically. More about this here :

Related topics :

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.