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.
- 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.
- Just empty your trash from Cpanel and it works.
This post was last modified on March 21, 2020 2:45 pm