-1

showing 'Missing a temporary folder.' problem

added below code in wp-config.php file

define('WP_TEMP_DIR', dirname(FILE) . '/wp-content/temp/'); also Created the Temp Folder inside wp-content

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

Missing a temporary folder

user3601901
  • 1
  • 1
  • 2

1 Answers1

0

You need to paste this code to the file just before the line that says ‘That’s all, stop editing! Happy blogging’.

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

Save your changes and upload the wp-config.php file back to your website.

Next, you need to go to /wp-content/ folder and create a new folder inside it. You need to name this new folder temp.

Note: If this method doesn’t work, then check the directory permissions for your wp-content folder.

dineshkashera
  • 1,442
  • 1
  • 15
  • 26