Issue uploading zip files compressed on MacOS
-
A typical way to compress a folder on MacOS is to right-click the folder and select “compress.” However, uploading that zip file (via the drag&drop interface) results in the following error message:
The zip file was not valid; it needs to contain a single top-level directory with name exactly equal to the plugin slug (ml-slider-pro). The additional entry encountered was: __MACOSX
It must be some sort of hidden file as there’s nothing with that filename anywhere to be found (even with hidden files enabled).
What I did instead, that worked, is via the terminal:
zip -r ml-slider-pro.2.18.0.zip ml-slider-proI’m fine with the command line, but wanted to report the issue in case you wanted to support the former too.
The topic ‘Issue uploading zip files compressed on MacOS’ is closed to new replies.