Incompatible Archive Error

Updated on February 9, 2026

This is a bug a WordPress itself introduced in version 6.4.3. It was solved quickly based on the core updates however, if anyone is still using that version they could encounter this error.

https://core.trac.wordpress.org/ticket/60398

As you can see, a patch was proposed and used by many and a fix was added 3 months ago.

Workaround

Add this code to your functions.php file 

add_filter( 'unzip_file_use_ziparchive', '__return_false' );

It patches the bug in version 6.4.3 and you should be able to upload archives compressed on macOS and Linux.

You can remove the code when you upgrade Linux as it is now longer needed in recent versions of WordPress.