1. Home
  2. Knowledge Base
  3. General
  4. Troubleshooting
  5. ‘Archive is not compatible’ error when uploading zip file
  1. Home
  2. Knowledge Base
  3. General
  4. ‘Archive is not compatible’ error when uploading zip file

‘Archive is not compatible’ error when uploading zip file

If you are encountering an error message that reads ‘Archive is not compatible’ when you try to upload your plugin, this is caused by an error in WordPress 6.4.3.

To remedy this:

  • Check for a later version of WordPress and update your installation if one is available

If no update is available yet, there are a couple more options:

  • Add this snippet:
<?php
add_filter( 'unzip_file_use_ziparchive', '__return_false' );

Here’s how to add a snippet.

  • Alternatively, unzip the file on your machine and upload the folder via FTP. Here’s a handy guide.
  • Finally, if none of the above options are suitable, please raise a ticket with us and we will get straight on to it for you.

Was this article helpful?

Related Articles