WebDoze Logo

Fix WordPress: Download failed. Failed to write request to temporary file

Table Of Contents

Share Article

While I was trying to update my themes and plugins to the latest WordPress version I have received the error : “Download failed. Failed to write request to temporary file”.

failing to write request

 

To fix this error you need to check different stuffs, below is the list:

1. Check if there is pace on the server or your cPanel account didn’t used all the space ( for me this fixed the error).

2. Check that the wp-content has the right permissions 755. If not give the permissions with chmod 755 wp-content

3. Check the upload file size. You can check it in media when you try to add a picture. In case it is 2MB it would be good to increase it to 20MB.

4. Edit the wp-config.php and add the line  define(‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/’); like in this tutorial: fix-download-failed-errors-on-update

After all are checked the problem should disappear and the plugins, themes or WordPress can be upgraded.

 

Become a CloudPanel Expert

This course will teach you everything you need to know about web server management, from installation to backup and security.
Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Sola says:

    Thanks admin..it works like a magic……you’ve solved over 48 hrs problem for which my host failed to respond to my ticket….

  2. tieši says:

    It’s amazing in support of me to have a website, which
    is helpful in support of my knowledge. thanks admin