If you see this error (“PCLZIP_ERR_BAD_FORMAT”) when trying to install or update wpDataTables, it typically means that WordPress encountered an issue while extracting the plugin ZIP file.
This article explains what causes the error and how to resolve it safely, without losing your data.
This error is most commonly caused by one of the following:
Corrupted or incomplete ZIP download (e.g., due to a timeout or interrupted connection)
Server-level file system or permission issues
Missing or disabled PHP Zip extension
WordPress falling back to the slower PclZip library, which is more error-prone than the default ZipArchive method
No. All of your wpDataTables tables and settings are stored in your WordPress database, so updating or reinstalling the plugin does not remove your data.
Just make sure that the option “Prevent deleting tables in database” is enabled in the Main Plugin Settings — this ensures your data remains intact even if the plugin is deleted.
(This option is enabled by default.)
Download the latest version of wpDataTables from your TMS Store account: https://store.tms-plugins.com/
In your WordPress dashboard, go to Plugins → Installed Plugins.
Deactivate wpDataTables.
Click Delete to remove the plugin (this won't delete your data).
Go to Plugins → Add New → Upload Plugin, upload the ZIP file you downloaded, and click Install Now, then Activate.
If uploading via the WordPress admin doesn’t work, you can install the update using FTP:
Unzip the downloaded plugin ZIP file on your computer.
Connect to your site using an FTP client like FileZilla.
Navigate to:wp-content/plugins/
Delete the existing wpdatatables
folder.
Upload the new wpdatatables
folder (from the unzipped files) to the same location.
Return to your WordPress dashboard and ensure the plugin is active.
This error may also occur if the required PHP Zip extension is not installed or enabled on your hosting server.
To verify this:
Go to the wpDataTables plugin dashboard in your WordPress admin area.
Click on the System Info tab.
Under the Server Environment section, look for the Zip extension row.
If it says “Installed”, you're good to go.
If it does not, you'll need to:
Contact your hosting provider and ask them to confirm that the PHP Zip extension is installed and enabled on your server.
After they enable it, refresh the System Info page — it should now show as “Installed”.
Once the extension is active, try the update again — the error should no longer appear.