#60588 closed defect (bug) (duplicate)
incompatible archive error
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.4.3 |
Component: | Plugins | Keywords: | |
Focuses: | Cc: |
Description
I keep getting this when I try to upload ANY plugin. I can not find a work around and I need to upload a couple of plugins to finish my wordpress website.
PLEASE HELP!
Change History (20)
#3
@
12 months ago
Thanks for confirming @klaudisio!
We've been tracking this issue in #60398. A fix has been committed to trunk
and will be released in WordPress 6.5. We may release a new version of WordPress 6.4.x, but that hasn't been decided yet.
In the meantime, you can install this plugin from the above mentioned ticket, written by a WordPress Core developer, that should resolve your issue: https://core.trac.wordpress.org/raw-attachment/ticket/60398/force-pclzip-0.1.zip (it should upload just fine)
Let us know if that resolves the issue for you. 🙂
#5
@
12 months ago
can you send zip file to my email?
XXXXXXX?
edit: Removing email from public bug tracker
#6
@
12 months ago
Try this link: https://core.trac.wordpress.org/attachment/ticket/60398/force-pclzip-0.1.zip
Then click the "downloading" link.
#9
@
12 months ago
Did you download the file using Safari or Chrome? Safari can repackage the ZIP file and result in a ZIP that cannot be uploaded, so try downloading the ZIP file in Chrome if you didn't already.
#12
@
12 months ago
If you have access to the files on your website:
- Create a
force-pclzip.php
file in thewp-content/plugins/
directory. - Add the following to the file:
<?php /** * Plugin Name: Force PclZip. */ // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } add_filter( 'unzip_file_use_ziparchive', '__return_false' );
- Save the file.
- Navigate to
Plugins > Installed plugins
. - Click
Activate
for theForce PclZip
plugin. - Try uploading one of the plugins that weren't working for you.
#13
@
12 months ago
oh boy, this is too hard for me to understand. I'm not really a coder, I;m using Brizy to design my website
I tried Elementor but it never really worked for me and was very difficult to understand. I understand a little about WP but not all the code.
#14
@
12 months ago
Hi @klaudisio Are you zipping up the plugins yourself using a UI such as finder? If so, that will trigger the issue. I would suggest zipping via the command line.
#15
@
12 months ago
I right-click on my mac and select compress. what is the other option? How do I do that?
#16
@
12 months ago
On a mac, you can use the command line, and a command zip -r file.zip folder_to_zip
to create a zip.
If you are trying to download a zip file using safari, there are instructions in https://core.trac.wordpress.org/ticket/60398#comment:41 for how to have it not unzip it for you so you would need to zip it yourself.
#18
@
12 months ago
IT WORKED!!! I UNCHECKED THE BOX IN SAFARI AND THAT ALLOWED ME TO UPLOAD THE PLUGINS. THANK YOU ALL SO MUCH FOR HELPING ME!
THANK YOU , THANK YOU , THANK YOU!!!
:)
Hi @klaudisio, welcome to Trac!
Can you confirm what version of WordPress you're using?