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

AccelerateWP: Speed Up Your WordPress Site

WordPress | Updated March 2026 AccelerateWP is a WordPress optimization tool built into your...

The WordPress app doesn't work with my website

WordPress | Updated 2026 If the WordPress mobile app (for iOS or Android) cannot connect to...

Create Static Files with your WordPress Install

WordPress | Updated 2026 WordPress generates pages dynamically on every request, which uses...

Do you have a WordPress plugin slowing you down?

WordPress | Updated 2026 Quick Answer To find slow plugins: Deactivate all plugins, then...

Quickly Disable All WordPress Plugins via phpMyAdmin

WordPress | Updated 2026 If a WordPress plugin is causing your site to crash, show a white...



Save 30% on web hosting - Use coupon code Hosting30