Documentazione Duplicator

Documentazione, Materiali di Riferimento e Tutorial per Duplicator

Troubleshooting the WordPress ‘Incompatible Archive’ Error


If you are trying to upload a theme or plugin to WordPress, specifically WordPress version 6.4.3, you may encounter an error that says “Incompatible Archive”. Although the error message is not very descriptive, it simply means that there was an issue with verifying the compressed .zip file you are trying to upload, and therefore, the upload could not be completed. This error usually occurs when the zip file is compressed on a Mac OS using Apple’s inbuilt compress folder function.

How to fix the ‘Incompatible Archive’ Error

Begin with installing and activating a code snippet plugin like WPCode on your site and add the below filter:

add_filter( 'unzip_file_use_ziparchive', '__return_false' );

This issue was a bug in WordPress 6.4.3, specifically this changeset: https://core.trac.wordpress.org/changeset/57388.

A bug fix and core trac ticket are available to address this issue here: https://core.trac.wordpress.org/ticket/60398.


Questo articolo è stato utile?


Articoli correlati

Non lasciare che un altro giorno passi senza protezione

Ogni ora senza backup adeguati di WordPress mette il tuo sito a rischio • Ogni migrazione di WordPress ritardata ti costa in termini di prestazioni e crescita

Get Duplicator Now
Plugin Duplicatore

Aspetta! Non perdere la tua
offerta esclusiva!

Come cliente , ottieni il 60% DI SCONTO

Prova Duplicator gratuitamente sul tuo sito: scopri perché oltre 1,5 milioni di professionisti di WordPress si fidano di noi. Ma non aspettare: questo sconto esclusivo del 60% è disponibile solo per un periodo limitato.

or
Get 60% Off Duplicator Pro Now →