Docs    Facebook    Troubleshooting

Uploading the plugin: PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

The PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature error is usually displayed by WordPress as a result of one of three things:

  1. There’s an issue with the zip file you’re uploading
  2. WordPress doesn’t have enough memory on the web server to unzip and upload the contents of the zip file
  3. An error being thrown by a plugin or script on your site

It’s possible that the plugin zip file became corrupted when you downloaded it initially. Try downloading it again, either from your Purchase Confirmation screen, confirmation email, or from your Account.

If you still receive the same error then it may mean that there’s not enough storage space on your web server for WordPress to be able to unzip and upload the contents of the file. See whether you receive the same error when trying to upload other files to your site, such as an image, video or other plugin. If so, then storage space is likely the issue and you’d need to either remove some files from your web server (perhaps old database backups or themes which aren’t being used) or contact your web host to increase your storage capacity.

This error can also be caused by a plugin or a script that is throwing an error. When the plugin updater tries to create the zip package, the error is added to the zip file, breaking its structure. Normally this means your website has WP_DEBUG set to TRUE in the wp-config.php file. While it’s a good way to check for any errors, it’s best to have it set to FALSE on a live website. Alternatively, you can keep it enabled but log the errors to a file on your server, in the wp-contents/debug.log file. Do this by adding the following lines to the wp-config.php file:

define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_display', false );

If you’re still experiencing the same issue after trying both of these things then please contact Support for assistance.


Couldn’t find your answer in the docs?

Contact Support

Was this article helpful?