How to fix WordPress error Missing a temporary folder

If you receive the error Missing a temporary folder whilst trying to upload or update your plugins then follow the guide below to resolve.

Log into DirectAdmin and click on the File Manager icon under Extra Features

Absolute Hosting WordPress Errors

Double click on the public_html folder to open the folder

Absolute Hosting WordPress Errors

Locate the wp-config.php file within the public_html directory, and right click and select Edit in new tab

Absolute Hosting WordPress Errors

Within the wp-config.php file, scroll to line 82 to find the line 

define( 'WP_DEBUG', false );

/* Add any custom values between this line and the "stop editing" line. */

Add the following code below the code example listed above

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

Click the Save icon to save the changes and close the File Editor tab to return back to the File Manager window

Absolute Hosting WordPress Errors

Find and double click on the wp-content folder to open the folder 

Absolute Hosting WordPress Errors

Click the New icon located within the header of DirectAdmin and click folder

Absolute Hosting WordPress Errors

Within the new popup, type the word temp and click create

Absolute Hosting WordPress Errors

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to install WordPress

How to install WordPressThis tutorial will show you how to install WordPress.For this tutorial,...

How to update your WordPress installation

How to update your WordPress installationThis tutorial assumes you've already logged in to...

How to write a comment in WordPress

How to write a comment in WordPressThis tutorial assumes you've already logged in to...

How to manage plugins in WordPress

How to manage plugins in WordPressThis tutorial assumes you've already logged in to...

How to manage pages in WordPress

How to manage pages in WordPressThis tutorial assumes you've already logged in to WordPress,...