How to fix "The package could not be installed. PCLZIP_ERR_BAD_FORMAT" in WordPress
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
or
PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure
They are two known causes for the above error message :
- 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. - 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 : http://apple.stackexchange.com/questions/961/how-to-stop-safari-from-unzipping-files-after-download
Related topics :