WordPress Automatic updates fails or not working – Fix

With WordPress 3.7, the WP team has rolled out WordPress automatic updates. This automatic update feature upgrades your WP installation automatically without any user intervention.

And you don’t have to lift a finger to apply maintenance and security updates. Most sites are now able to automatically apply these updates in the background.

But my WordPress Automatic updates is always failing ?

But some of the WP installations are not so blessed and WordPress automatic updates will fail for them and you will be bombarded with the following message.

This site is not able to apply these updates automatically. But we’ll email you when there is a new security release.

 Fix for you

1. Download your wp-config.php

2. Add the following lines to the bottom of your wp-config.php using any text editor

3. Now replace

YOUR_FTP_USERNAME with your FTP username

YOUR_FTP_PASSWORD with your FTP password

YOUR_FTP_HOST with your FTP host address(like yourdomain.com or IP address like 123.456.789.999)

4. Make sure that you enter the FTP details in between the two single quote(‘) or else it will result in an error.

5. Now upload it back

6. WordPress Automatic update problem solved 🙂

Don’t forget to leave your comment if you need any help or if the above tip fails.

Image Courtesy: Stuart Miles

6 Responses

  1. Steve Pringle December 4, 2013 / 5:07 AM

    I can’t believe how easy it was that to correct with your tip. Thank you. Now the only thing is, each time I need to update the FTP password, I have to go back and edit the wp-config.php file.

    Cheers

    P.S. What did you you to make the popup window of the code?

  2. Max April 17, 2014 / 8:35 PM

    We were advised by some of our dev friends to paste this at the bottom of the first section (right underneath the database info) in wp-config rather than at the end. Don’t really remember why, but they seemed to think it could make a difference… 🙂

    Cheers.

    • Mithun John Jacob April 21, 2014 / 5:33 PM

      It doesn’t matters where you insert it in wp-config.php, the only requirement is that it just needs to be there.

  3. Fahad Rafiq September 22, 2014 / 4:40 PM

    Security is always an issue for the WordPress users. We got a chance to talk in detail with Rhys Wynne on this topic. Rhys is an experienced WordPress developer. In his 3 pointer, Rhys explained how you can keep your WordPress websites secure. He suggested to keep the WordPress updated. I quote his words: “Never Turn WordPress Automatic Updates Off”. There are many other things that has been explained briefly in this conversation like WordPress community and WordPress themes. Read here: http://www.cloudways.com/blog/rhys-wynne-interview/

Leave a Reply

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