How to Fix the “Missing a Temporary Folder” Error of a WordPress Site Using cPanel?

Missing a temporary folder means there is something wrong with the PHP configuration of your website’s server.

Whenever you install a plugin, theme, or an image, WordPress starts looking for a temporary folder because it stores the file in that folder before proceeding it further.
In most of the cases, when such a folder isn’t available, and you try to upload something, you encounter with an error.

Step::1 Login to your cPanel account and look for the File Manager icon under the “FILES” section.

Step::2 Click public_html or document root directory to open.

Step::3 Look there for the wp-config.php file.

Step::4 Once you find the wp-config.php file, right-click to choose edit.

Step::5 A popup appears to confirm and provide an option to disable encoding. Click on the Edit button, and a new tab opens up in the web browser.

Step::6 Add the following code in the wp-config.php file

Step::7 Click on the Save Changes button from the top-right corner.

Step::8 As you’re already inside the file manager, instead of the wp-config.php file, you need to open the wp-content directory, where you need to create a new folder.

Step::9 Navigate to the +Folder link in the cPanel navigation menu.

Step::10 A popup appears asking you to fill in the name of the folder. Add temp and click on the Create New Folder button.

Now when you refresh the page, you can see the new folder "temp".

Now try uploading anything on your WordPress website; if you don’t get an error, congrats, you have successfully solved the missing a temporary folder error.

But remember before troubleshooting anything, it’s necessary to backup your WordPress site and its database.

Visit our Blog for more details. You can also watch the video here.


  • "Missing a Temporary Folder" Error, How to Fix the "Missing a Temporary Folder" Error of a WordPress, wordpress, wordpress errors, wordpress tutorials
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Fix WordPress error “There has been a critical error on your website”

Step::1 First of all login to your cPanel and go to File ManagerStep::2 Go inside public_html and...

How to Stay Logged in for a longer period in your WordPress?

Step::1 First of all you must know the theme which is currently activated in your website. So...

How to bulk delete spam comments in your WordPress website?

Step::1 Login to your cPanel and click on File Manager sectionStep::2 Go to public_html and then...

How to Change WordPress logo in wp-admin page?

Step::1 Login to your cPanel and go to File Manager sectionStep::2 Now go to Public_html Step::3...

How to Change WordPress Admin Username?

Step::1 Login to your WordPress dashboardStep::2 Now at the same time login to your WordPress...