Previous article we discussed how to install a theme on your WordPress site. You’re going through issues even as updating WordPress or deploy new plugins/issues, it can be a result of the transient listing WordPress uses for downloads. You can without difficulty repair this by means of defining a WP_TEMP_DIR to your wp-config.Hypertext Preprocessor report as the below.
How to fix this issue?
-> Find Wp-config.php from your site root folder and open it
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'dbname');
You can find this code inside wp-config file at top of the file. Between @package WordPress and //** MySql setting you need to past the below code.
define('WP_TEMP_DIR', ABSPATH . 'wp-content/');
Once you do this, Save the wp-config.php file and restart your website and try to update/install themes or plugins. Ensure that while updating or install the plugin or theme you will make read/write permission for the wp-content folder.