Solved: The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file

I was facing an error as below when I update the plugin or theme in WordPress.

The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file ..

I searched lots of websites but I didn’t find an exact solution for this. Later I debugged myself and found the below issue.

  1. My /trash folder was full so when anything uploads, ideally it goes to /tmp folder and then after use, it goes to trash automatically. As the trash folder was full so it couldn’t work and throwing this error.
  2. Just empty your trash from Cpanel and it works.

Chetan Patel

Chetan Patel is blogger, writes on Tech News, current trends, Gadgets Reviews, Website owner guide and Tips. You can connect him at Google+ & Facebook.