Learn How to Fix “Missing a Temporary Folder” Error in WordPress364

Missing Temp Folder
Author: InfoBeep - September 8, 2017 | subject to copyright

If you are using WordPress regularly you may have seen ‘Missing a temporary folder’. In this article, we will provide your information about the cause of error and its solution.

 

What causes the ‘missing a temporary folder’ error in WordPress?

This error occurs due to incorrect PHP setting on your WordPress hosting environment. There is a temporary folder where WordPress stores data before saving it to desired location. WordPress needs that folder when you upload image, install or update theme or plugins, or update WordPress core. If you do not define the folder location in your server’s PHP configuration then it will show you ‘Missing a temporary folder’ error. Picture demo is shown below:

Learn How to Fix “Missing a Temporary Folder” Error in WordPress

 

Fix Missing Temporary Folder Error in WordPress

In order to solve this problem, you need to follow the steps below:

  1. Connect your website using FTP client or file manager in cPanel dashboard of your hosting account. Example shown below:
    Learn How to Fix “Missing a Temporary Folder” Error in WordPress
  2. Now edit wp-config.php file and paste the code

define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/');

 

  1. Save changes and upload wp-config.php file.
  2. Now, goto /wp-content/ folder and create a new folder with name temp. Demo shown in the picture below:Learn How to Fix “Missing a Temporary Folder” Error in WordPress

Note: This error is caused due to the error in configuration in hosting environment. If you can get out of this problem you may check the directory permissions for your wp-content folder or ask your hosting provider to fix this.