Skip to content
Help Center
  • Pricing
  • ProductsExpand
    • Premium PlansGet all the tools you need in one plan
    • Kadence ThemeLightning-fast performance theme for modern websites
    • Kadence BlocksDrop in ready designs with advanced controls for pixel perfect websites
    • Kadence Shop KitCreate a more effective WooCommerce shopping experience
    • Kadence ConversionsBoost sales and build engaged audiences with popups and banners
    • Kadence InsightsEasily create A/B tests. Optimize your pages to drive higher conversions.
    • View All Products
    • Get Kadence + Hosting
      In One Place

      Enjoy faster setup, top-tier performance, and worry-free WordPress hosting – Kadence Theme, Kadence Blocks, and Solid Security all pre-installed.

      Learn More

  • Kadence AI
  • Starter Templates
  • Blog
  • SupportExpand
    • Resource HubStart here for guides, Product docs, FAQs, and Troubleshooting tips, all in one place.
    • Contact SupportStuck on something? We’re here to help! Open a ticket for top-notch support.
    • Contact Our TeamGot pre-sales questions or need help choosing a plan? Open a ticket and our team will guide you.
    • About usCrafted with love in Missoula, Montana. Meet the team behind the mission.
Account Account
Get Kadence
Help Center
  • Home
  • Knowledge Base
  • Kadence Theme
  • Troubleshooting

WordPress Error “Incompatible Archive”

When attempting to upload a theme or plugin to WordPress (specifically WordPress version 6.4.3), you may run into this error: Incompatible Archive.

Don’t worry; While this error is undescriptive, it simply means that there was an error verifying the compressed .zip file you are trying to upload and couldn’t continue. This most likely happened because the zip file you were trying to use was compressed on a Mac operating system using Apple’s native compress folder function.

How to fix Incompatible Archive

A couple of options are available to resolve this. For most the easiest solution is going to be A.

Option A (Windows Users): Extract the zip file you are trying to upload and recompress it.

Wherever your zip file is located locally, you can extract the zip (double-click on the file) and then recompress it (right click -> compress)

Then upload that newly compressed file and it will work.

Option B: Add a filter using a code snippet plugin.

First, install and activate a code snippet plugin from the plugins > add new. Then, add this code snippet to run everywhere.

add_filter( 'unzip_file_use_ziparchive', '__return_false' );

Option C (Mac Users): Extract the zip file you are trying to upload and recompress it.

Wherever your zip file is located locally, move it to your name user directory (this will make it easier to compress with the command line). Then you can extract the zip (double-click on the file).

Now, using a tool like Keka or the command line, you can recompress the folder and then reupload.

An example of using the command line looks like this:

  1. Open up terminal (command + space to open search and type terminal)
  2. Changing out “custom_plugin” with the plugin folder name, paste the command below into the terminal.
zip -vr custom-plugin.zip custom_plugin/

How to prevent the Incompatible Archive error for your users

If you are not using a Mac operating system, then you can compress your usual way.

If you create a zip file on Mac OS of a theme or plugin to distribute to users, ensure it’s compressed using a tool like Keka or the command line. An example of using the command line looks like this:

zip -vr custom-plugin.zip custom_plugin/

More information about the bug in incompatible archive bug in WordPress 6.4.3

This happened because of a bug introduced in WordPress 6.4.3, specifically this changeset: https://core.trac.wordpress.org/changeset/57388.

There is a bug fix and core trac ticket to follow about this issue here: https://core.trac.wordpress.org/ticket/60398

Do you feel this document was helpful?
The Kadence WP Logo
Crafted in Missoula, Montana
  • Follow Kadence on Facebook
  • Follow Kadence on Youtube
  • X
  • Follow Kadence on Instagram
Trustpilot
Products
  • Kadence Plans
  • Kadence Theme
  • Kadence Blocks
  • Kadence AI
  • Kadence Starter Templates
  • Kadence Shop Kit
  • Kadence Conversions
  • Kadence Pattern Hub
  • View All
Resources
  • Blog
  • Podcast
  • Knowledgebase
  • Support ticket
  • Feature Requests
  • FAQ
  • WordPress Hosting Services
About Us
  • About Kadence
  • Become an affiliate
  • Contact us
  • Terms
  • Privacy Policy
  • Security
Our Partner Brands
  • SolidWP
  • LearnDash
  • The Events Calendar
  • GiveWP
  • MemberDash
Kadence Community
  • Kadence Marketplace
  • Join the Facebook Group
  • Subscribe to our YouTube Channel
© 2024 Kadence WP | All prices are in USD
Logo for StellarWP an umbrella brand of Premium WordPress plugins
  • Pricing
  • Products
    • Premium PlansGet all the tools you need in one plan
    • Kadence ThemeLightning-fast performance theme for modern websites
    • Kadence BlocksDrop in ready designs with advanced controls for pixel perfect websites
    • Kadence Shop KitCreate a more effective WooCommerce shopping experience
    • Kadence ConversionsBoost sales and build engaged audiences with popups and banners
    • Kadence InsightsEasily create A/B tests. Optimize your pages to drive higher conversions.
    • View All Products
    • Get Kadence + Hosting
      In One Place

      Enjoy faster setup, top-tier performance, and worry-free WordPress hosting – Kadence Theme, Kadence Blocks, and Solid Security all pre-installed.

      Learn More

  • Kadence AI
  • Starter Templates
  • Blog
  • Support
    • Resource HubStart here for guides, Product docs, FAQs, and Troubleshooting tips, all in one place.
    • Contact SupportStuck on something? We’re here to help! Open a ticket for top-notch support.
    • Contact Our TeamGot pre-sales questions or need help choosing a plan? Open a ticket and our team will guide you.
    • About usCrafted with love in Missoula, Montana. Meet the team behind the mission.
Account Login