wordpress zip macos error

Zipper files created by macOS crash on WP: here comes the solution!

Questo contenuto è disponibile in Italiano

If you do a good job with your WordPress site by keeping it constantly updated you have surely noticed that in the latest version, 6.4.3 released on January 30 this year, there is something big wrong:

Uploading Zip archives to update your plugins or theme will get the “Incompatible Archive” error screen that has the web enraged!

incompatible archive

Virtually all Zip archives created on the Appla MacOS operating system (plugin or theme folder) can no longer be uploaded to WordPress because of this error, which was promptly reported via ticket to the developers.

There are those who have already found the solution by applying a simple filter in the function.php, Jose Mortellaro, who explains it in his blog in this article.

Add this function to your function.php to fix, or momentarily upload your files via SFTP:

				
					add_filter( 'unzip_file_use_ziparchive', '__return_false' );
				
			

When will the problem be solved?

Fortunately for us, WordPress developers promptly fixed the bug by including the patch in WordPress version 6.5, but we will have to wait until March 26 to install it on our site given the many improvements it will make to the system.

Questo contenuto è disponibile in Italiano

Related articles

Why are plugin, theme and WordPress Core vulnerabilities dangerous?

Questo contenuto è disponibile in ItalianoWordPress is by far the most popular content management system (CMS). Worldwide, more than 40 percent of all websites are based on WordPress. However, this...

Newsletter? SPF, DKIM and DMARC authentication required!

Questo contenuto è disponibile in ItalianoWhen you send emails, email providers (such as Gmail, Outlook, AOL, and Yahoo) must identify whether it is a legitimate email sent by the owner...