WordPress Missing a temporary folder cPanel

If you develop your sites through WordPress CMS then sometime you face WordPress Missing a temporary folder cPanel issue. And today I will tell you the complete solution of that WordPress Missing a temporary folder cPanel issue. So without wasting more time I come to the main point of this subject.

cPanel does not have a temporary folder for WordPress

Does your WordPress site display the message "Temporary folder not found"? This error prevents you from uploading images, updating themes and plugins, or updating WordPress core. "Missing a temporary folder" error can be easily fixed in WordPress by following these instructions.

The error message "Missing Temporary Folder" appears for a variety of reasons.

Incorrect PHP settings can cause the "Missing temporary folder" error to appear on your WordPress site. The temporary app data of apps can be stored in a folder defined by a PHP setting. Before being saved to the desired location, this data is stored in a temporary folder.

What causes the Missing Temporary Folder error?



You can't upload an image, install or update a plugin, or make any other changes to WordPress without allowing WordPress to access your temporary folder first.

You'll get the "Missing temporary folder" error message if your server's PHP configuration doesn't specify where this folder is located.

These steps will show you how to fix the error message "Missing temporary folder."

How to fix the “Missing temporary folder” error in WordPress 

How to fix the “Missing temporary folder” error in WordPress


You must edit the wp-config.php file in WordPress to fix this error.

Use an FTP client or a File Manager to connect to your website. Your hosting account's CPanel control panel has this feature.

Locate and edit the wp-config.php file.

The following code should be pasted into the file before the line that reads, "That's all, stop editing!" 'Have a great time blogging!'

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

    1.     Save your changes.
    2.     Upload the wp-config.php file back to your website.
    3.     Go to /wp-content/ folder.
    4.     Create a new folder named Temp.

Now go back to your WordPress admin area and re-upload the image. The image should upload successfully.

If the preceding method doesn't work, check the wp-content directory permissions. 755 permissions for the directory

Post a Comment

0 Comments