[wp-trac] [WordPress Trac] #60588: incompatible archive error
WordPress Trac
noreply at wordpress.org
Wed Feb 21 00:53:23 UTC 2024
#60588: incompatible archive error
-------------------------------+------------------------------
Reporter: klaudisio | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by costdev):
If you have access to the files on your website:
1. Create a `force-pclzip.php` file in the `wp-content/plugins/`
directory.
2. Add the following to the file:
{{{#!php
<?php
/**
* Plugin Name: Force PclZip.
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
add_filter( 'unzip_file_use_ziparchive', '__return_false' );
}}}
3. Save the file.
4. Navigate to `Plugins > Installed plugins`.
5. Click `Activate` for the `Force PclZip` plugin.
6. Try uploading one of the plugins that weren't working for you.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60588#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list