PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file

PROBLEM When you try to update WordPress or install plugins, the downloader / installer page pops up, the compressed file is downloaded to your server, but installation fails because of this error: PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file .. tmp’ SOLUTION You need to access the files on your server via FTP. or the File Manager section of your control panel.  On your server, navigate to the /wp-content folder. Create a new folder inside it called TEMP. Download and or Edit /wp-config.php from your server to your computer. Open it up in a text editor, and at the very bottom of the file add the line

define('WP_TEMP_DIR', ABSPATH . 'wp-content/TEMP');

then save wp-config.php. Upload it to your server again if necessary. Try updating WordPress or installing a plugin. It should work now.

 

  • 8 Users Found This Useful

Was this answer helpful?

Related Articles

Blocked by JetPack

If you have access to your site and you’ve not been blocked, you can enter your IP or IPv6...

JetPack says my website is offline

Jetpack Monitor says my website is offline, responding intermittently, or is extremely...

WordPress Response Body too Large and Too many arguments in Request Errors

If you are receiving a response body too large error with WordPress it is a result of WordPress...

CloudFlare for WordPress

CloudFlare plugin is available for WordPress! Key features are as follows: To ensure you have no...

Elementor - Critical Error with both Elementor and Elementor Pro plugins enabled

Running both Elementor and Elementor Pro at the same time requires more memory than provided by...