WordPress 6.4.3. Incompatible Archive.

In case you see the error “Incompatible Archive“.

The update of WordPress 6.4.3 triggers bug when you try to upload a plugin or a theme that was zipped using a Mac.

The solution of the issue is to add the line of code to functions.php of the child/parent theme or custom plugin that forces WordPress to use the PclZip class instead of the ZipArchive module.

add_filter( 'unzip_file_use_ziparchive', '__return_false' );

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *