• Skip to primary navigation
  • Skip to main content

MelvinBlog

A blog that chronicles my journey on online marketing, blogging, social media, technology and life.

  • Author
  • Photos
  • Contact
WordPress Plugin Upgrade Failed? Here’s How to Fix It

WordPress Plugin Upgrade Failed? Here’s How to Fix It

by Melvin · Jan 8, 2011

Updating your plugins from your admin panel in WordPress is very handy. That’s why when this feature went broke here in this blog, I went crazy finding for solutions on how I can solve it.

If you search Google on some solutions for it, you can find a lot but the problem is it can just confuse you to death. I myself was stucked with this problem for weeks, if not months. I know its funny but I became really frustrated because I couldn’t find the solution that would work for me.

So in this blog posts I am going to list different ways on how to fix it so that if a blogger or whoever gets stucked with this problem too, he can get to try the following.

WordPress Plugin Upgrade Failed

This problem is basically when you cannot update your plugins using your admin panel in WordPress. Unfortunately you can also not install new plugins using the admin. Here’s the typical look of it:

wordpress upgrade failed fix

Here are the following solutions for it:

Solution 1. Chmod the upgrade directory to 777

You can do this either using file manager in CPanel or using your FTP access. Basically you have to go to the upgrades directory inside wp-content, and then change its permission from 644 to 777. What this means is that you’re permitting the upgrade directory to read write and execute without any restrictions. This have seemed to be working solution for most people.

Solution 2. Delete upgrade directory and recreate it.

If the first one doesn’t work, then try to do this one. Basically you just have to delete the upgrade directory and then recreate it.

Solution 3.  Edit class-wp-filesystem-direct.php

This one came from this blog although this solution is quite a bit complicated and scary so you may want to make sure you have performed your backups just in case something wrong happens.

Basically it involves adding this line into the mentioned file above:

function mkdir($path, $chmod = false, $chown = false, $chgrp = false) {

// safe mode fails with a trailing slash under certain PHP versions.

$path = untrailingslashit($path);

if ( empty($path) )

$path = ‘/’;

   if ( ! $chmod )
      $chmod = FS_CHMOD_DIR;

Solution 4. Disabling Ask Apache Password Protect Plugin

This was the solution that worked for me. Oddly enough there weren’t that many people who talk about this so if the three solutions above didn’t work for you, then I’m pretty sure this fourth solution will, just like how it worked for me.

So if you have this plugin, all you have to do is disable (or delete it) and then update your plugins. I don’t know why but I just cannot afford to use a plugin that will bring me a problem like this so I don’t think I will ever use it again.

That’s it. You can try each solutions one at a time and hopefully one of them can help you solve this wordpress plugin upgrade problem. If you have questions then feel free to ask in the comment section.

Filed Under: Blogging Experience, Handy Tools, Security Tagged With: wordpress update failed, wordpress upgrade problem

About Melvin

A blogger, basketball junkie, headphone enthusiast, aspiring chef, traveler wannabe and a big Taylor Swift fan.

Reader Interactions

Comments

  1. DiTesco says

    January 9, 2011 at 12:36 am

    Love this Melvin. This is one thing that often happens to me and sometimes I just “quit” from trying to upgrade. Good timing as I have some plugins I need to upgrade and should they fail, this post will run to the rescue. Thanks and keep it up

  2. Ajith Edassery says

    January 9, 2011 at 1:51 am

    Nice tips man. Looks like a WordPress-tips category is evolving on this blog 🙂 Btw, Happy New Year to you Melvin.

  3. elie palima says

    January 9, 2011 at 6:44 am

    this never happened on my main blog before but I experienced to fail updating a plugin on my other blog. basically, what happened was I reloaded the page while I was upgrading 5 plugins at the same time. after that, This message appeared to all my website’s directory: “the site is currently on maintainance mode. check back in a few minutes”

    I don’t know if this happens to everyone but on my sites, every time wordpress fails to update a plugin automatically, it creates a .maintainance file on the site’s index. basically, all I’ll have to do is delete the .maintainance file and then re-update the plugin again. then everything would be back to normal.

  4. gmsj@Jocuri Online says

    January 10, 2011 at 11:55 am

    Looks like a WordPress-tips category is evolving on this blog

  5. Elise says

    January 11, 2011 at 1:36 am

    Nice! This has happened to me before. I have like a hundred WP plugins installed. If it fails, I always just give up and move on to something else. I’m not a programmer so I don’t know how to figure this stuff out. Now when it happens again, I’ll know where to look for troubleshooting. 😉

  6. Dean Saliba says

    January 11, 2011 at 1:56 am

    I must admit that I have never received this problem. I’ve had the problem where a plugin causes a fatal error when trying to activate, but never the error you mentioned.

    Still I a msure a lot of people have received this error and you will have stopped them pulling out the rest of their hair. 🙂

  7. Melvin says

    January 12, 2011 at 10:21 am

    lol. I don’t think so. I just included this here because it has bothered me a lot

  8. Melvin says

    January 12, 2011 at 10:22 am

    I’m not a programmer either but we just gotta continue searching and testing things out. 😉

  9. Johanna @ GIJoh.com says

    January 13, 2011 at 9:51 pm

    Hi Melvin,
    The tips you mentioned above will be very helpful for me. It IS easier that there are notifications on the admin that tells you some plugins have upgrades available, but there were some plug-ins that tend to have errors on my blog when I upgrade them automatically – to the point that I was kind of hesitant to update plugins or something else on my blog (there were about a dozen or so update notifications there at one time).

    Thanks for sharing!

  10. Dries says

    January 15, 2011 at 6:47 pm

    I have the same problem with my plugins.

    > My host adapted my chmod without asking, so I changed them again but still got the same problem.
    > Deleting the directory upgrade didn’t help eather
    > I don’t have the plugin so that’s no option for me.

    > so I wanted to change the class but I haven’t got that file in my wp-includes. How is that possible. Running 3.0.4 now… same issue with upgrading wordpress in totall. It simply doesn’t want to upgrade automatically. Any tips?

  11. d3so says

    January 28, 2011 at 5:37 am

    Some plugins update flawlessly for me and some don’t.
    I’ve never successfully updated wordpress automatically before. I’ve done the steps above and still no luck. I’ve been told it depends on your host’s server settings. I have another host and everything updates fast and have had no errors.

  12. Dictionar Englez Roman says

    February 23, 2011 at 2:54 am

    I’ve not met this type of problem yet. I can easily upgrade plugins with one click from my dashboard. Great to see that there is a solution…

Trackbacks

  1. Tweets that mention WordPress Plugin Upgrade Failed? Here's How to Fix It -- Topsy.com says:
    January 8, 2011 at 9:41 pm

    […] This post was mentioned on Twitter by Melvin Dichoso. Melvin Dichoso said: WordPress Plugin Upgrade Failed? Here’s How to Fix It: Updating your plugins from your admin panel in WordPress … http://bit.ly/ieyIuY […]

  2. Vote on this article at blogengage.com says:
    January 9, 2011 at 11:53 am

    How to Fix Plugin Upgrade Problem in WordPress…

    Updating your plugins from your admin panel in WordPress is very handy. That’s why when this feature went broke here in this blog, I went crazy finding for solutions on how I can solve it….

Copyright © 2026 · No Sidebar Pro on Genesis Framework · WordPress · Log in