Blog

Fix WordPress update error

Afbeelding Fix WordPress update error

Unfortunately, WordPress websites are not 100% secure and hackers often find a way to make their move. But to make it a lot more difficult for these hackers, it is very important to update your WordPress website regularly. An updated WordPress website runs a lot less risk of being hacked. There are plenty of websites that are unsecured and therefore a lot more attractive to hackers.

What WordPress updates are there?

There are three parts of WordPress that have regular updates: the WordPress CMS, plugins, and themes. Nowadays, WordPress itself can update to a newer version. If you don’t like that, you can also turn off automatic updates. However, in most cases we recommend enabling automatic updates, as the minor updates are often overlooked when they are important.

What is a WordPress update error?

It can happen that a WordPress update does not always go well. An error message will then appear on your screen. There are several variations of the error message, but it will resemble the following sentence: “Destination directory for file streaming does not exist or is not writable”.

How to fix the WordPress update error?

There is one solution to fix the WordPress update error. You will have to make a change to the ‘wp-config.php file’. In the first instance, make sure you make a backup of your WordPress website before you start.

  1. Open your ‘wp-config.php file’

  2. Look for the following code:

    * @package WordPress
    */
    ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘wpdbname’);

  3. Add the code below to the file

    This way you basically tell WordPress where the wp-content folder is actually located. Place the code under package WordPress /* and above // ** MySQL settings.

    The code is:
    define(‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/’)

  4. Check if your entire code now looks like this:

    @package WordPress
    */
    define(‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/’);
    ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘wpdbname’);

  5. Save the file

  6. Upload the file to your WordPress website, for example via FTP.

WordPress update still not working

If, after the above-mentioned step-by-step plan, it is still not possible to do the WordPress update, then the cause lies elsewhere. It may be that your installed WordPress plugins cause problems when updating. To test that, you need to deactivate all plugins on your WordPress website. This is also possible via FTP. Then try again to update your website. If you manage to update now, then an installed plugin was the culprit.

Problem with hosting

If the update is not possible even after this step, it is best to contact the hosting party. Chances are that the problem lies with the hosting of your WordPress website. Also, indicate that you have already tried to update WordPress manually and deactivated the plugins for verification.

Other WordPress errors

WordPress can, in addition to the update error, also give other error messages. Check out our blog on how to fix other WordPress errors here. Would you rather be helped personally, check out our WordPress error solving service? Our WordPress Specialists encounter errors on a daily basis and have also recorded most of them in various blogs.

You can safely update WordPress with this guide.

Contact us

Do you no longer want to be busy with just solving errors on your WordPress website or do you just not have the technical knowledge to get it done? Please contact us and call 030-2072488. We are happy to help you! Are you interested in our services? Check out our WordPress Maintenance Packages.

Was this article helpful?

Yes No

We'll assist you promptly and professionally!

Check here all benefits.

© WPmaintenance.com 2011 - 2024 | All rights reserved | WordPress Maintenance is part of Artitex