PCLZIP_ERR_MISSING_FILE WordPress Error

WordPress | Updated March 2026

The error "PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file" appears in WordPress when a plugin or theme upload, update, or installation fails because WordPress can't write to or read from the temporary directory. The usual cause is the server's /tmp directory being full, your account hitting its disk quota, or a permissions issue.

01. What Causes This Error

  • Disk quota full - your hosting account has no free disk space. WordPress can't extract the uploaded zip file. This is the #1 cause
  • /tmp directory full - the server's temporary directory ran out of space. This is a server-side issue
  • File too large - the plugin/theme zip file exceeds PHP's upload limit
  • Corrupt zip file - the downloaded file is incomplete or damaged
  • Permissions issue - the wp-content/uploads or wp-content/upgrade directory isn't writable

02. How to Fix It

Step 1: Check Disk Space

Log into cPanel > Disk Usage. If you're at or near 100%, free up space by deleting old backups, clearing trash in email, removing unused themes and plugins, or clearing WordPress cache files.

Step 2: Re-download the File

If disk space is fine, the zip file may be corrupt. Download a fresh copy of the plugin or theme from the source (wordpress.org, the developer's site, etc.) and try uploading again.

Step 3: Check PHP Upload Limits

If the file is large (50MB+), check your PHP upload limits in cPanel > Select PHP Version > Options. Increase upload_max_filesize and post_max_size to at least the size of the zip file.

Step 4: Fix Permissions

In cPanel > Terminal or via SSH:

chmod 755 ~/public_html/wp-content/uploads
chmod 755 ~/public_html/wp-content/upgrade

Step 5: Use FTP Instead

If WordPress's built-in uploader keeps failing, upload the plugin/theme manually via FTP. Unzip the file on your computer, then upload the folder to wp-content/plugins/ or wp-content/themes/. See our FTP guide.

Note

If the error mentions /tmp specifically and you have plenty of disk space, the server's temp directory may be full. Open a support ticket and we can check and clear it.

Still Getting This Error?

If none of the above resolves it, open a ticket with the exact error message and what you were trying to install/update.

Open a Support Ticket

Quick Recap

  1. Check disk space - cPanel > Disk Usage, the #1 cause
  2. Re-download the zip - the file may be corrupt
  3. Increase PHP upload limits - for large plugins/themes
  4. Fix directory permissions - wp-content/uploads and wp-content/upgrade need 755
  5. Upload via FTP - as a workaround for the built-in uploader

Last updated March 2026 · Browse all WordPress articles

  • 242 Users Found This Useful

Was this answer helpful?

Related Articles

Unable to create directory uploads/ Is its parent directory writable by the server?

Unable to create directory... Is its parent directory writable by the server? This error can be...

WordPress Error : Sorry, this file type is not permitted for security reasons

.svg and .xap files can result in the error "Sorry, this file type is not permitted for security...

Static HTML Files Not Being Displayed with WordPress

Static HTML Files Not Being Displayed with WordPress   This can occur when WordPress's...

WordPress Security

🔒 WordPress Security Guide | Updated 2026 WordPress powers over 40% of the web,...

JetPack server was unable to connect with your site

"Error Details: The Jetpack server was unable to communicate with your site...



Save 30% on web hosting - Use coupon code Hosting30