How to fix the File incompatible error in WordPress 6.4.3 (1)

How to Fix “Incompatible File” Error in WordPress 6.4.3

If you updated to WordPress 6.4.3 and when uploading a plugin or theme you encountered the 'Incompatible file error' error, we will help you resolve it.

This issue has puzzled many users, particularly those working with MacOS to compress the zip files of their plugins or themes before uploading them. The problem lies in the compression method used by MacOS for zip files and how WordPress 6.4.3 handles them during the upload process.

Recent security improvements, aimed at improving the upload process, unintentionally introduced issues for compressed zip files on MacOS, causing the frustrating “Incompatible file” error message.

Well, ok, but... and how do I solve it?

Simple, we leave you the step by step:

  1. Go to the functions.php file of your active theme.
  2. Add the following line of code:  add_filter( 'unzip_file_use_ziparchive', '__return_false' );
  3. Save and Done!

On the other hand, if you work with a theme based on blocks, we suggest doing this operation with a Code Snippets plugin.

 

Solved. You can now continue your life in peace 🙂

More Related Content

Refund Reason

en_USEN
0
    0
    Your purchase
    Your shopping bag is emptyReturn to Home