pUTTy
Install cPanel On CentOS Server
November 30, 2016
Get a Free SSL certificate
Get a free SSL Certificate
December 15, 2016
Show all

Fix Missing Temp Folder WordPress

Fix PLCZIP_ERR_MISSING_FILE (-4)

Recently we came across an error where they wasn't much information in regards to fixing the dreaded PLCZIP_ERR_MISSING_FILE (-4) error. They isn't much information for this error so we decided to write this guide to help you if you come across this error or you are currently having problems.

This error is caused when WordPress cant locate your temp directory causing errors when you update and download plugins on your site.

Ok lets go through the guide, this fix is for WordPress installations on Windows and Linux operating systems.

Firstly you'll need to download and install the Filezilla FTP Client or use your file manager within your hosts control panel.

file manager

Once logged in locate your wp-content folder and within the folder create a new folder, name this folder TEMP

temp folder

Now lets go back a directory and locate your wp-config.php file, open this file with a text editor such as notepad and locate the following line

if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
on the next line add the following code
define('WP_TEMP_DIR', ABSPATH . 'wp-content/TEMP');

Don't forget to save your file and upload it again to the server if you downloaded it.

wp-config.php upload

Now log back into your WordPress dashboard and try update your plugins, these should now work

PLCZIP_ERR_MISSING_FILE (-4) fixed
UK Web Hosting