While trying to update WordPress plugins the following error appears:
PLESK_ERROR: Update Failed: The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file '/tmp/simple-share-buttons-adder.7.3.10-vkhjT7.tmp'
Insufficient permissions for the folder with temporary files.
- Navigate to Plesk > Domains > example.com > File Manager > wp-content and create a new directory called TEMP;
- Open the
/var/www/vhosts/example.com/httpdocs/wp-config.phpfile and enter the following line at the bottom:
CONFIG_TEXT: define('WP_TEMP_DIR', ABSPATH . 'wp-content/TEMP');