Urgent WordPress Automatic Upgrade Update

To all those who are using WordPress Automatic Upgrade and may have upgraded to WordPress 2.5 there is a bug which was reported earlier which breaks automatic plugin updates which is a feature in WordPress 2.5.

This feature breaks because of a library we used to handle zip files which is also used by the plugin updater. Since the plugin updater does not need to check if the class in question has already been instantiated I have changed the code in the plugin to ensure that the PclZip library is not loaded while updating a plugin.

Anyway for those who do want to continue using WordPress Automatic Upgrade plugin please update to the latest version first or else if you are already using WordPress 2.5 first deactivate the plugin and then update and activate it.

I take immense pleasure in saying this too that WPAU has reached version 1.0 and actively supports upgrading from WordPress 2.5 to any new version that may be released.

Download: WordPress Automatic Upgrade v1.0

After Reading This Post Other People Went on to Read: »

Comment Using Facebook

64 Responses to this Article | Share your Opinions/Comments

We moderate comments to prevent spam. Moderation is done within few hours. Please try and stay on topic and refrain from using abusive language. If you think there is a problem with this post, please email the post author or send us an email at tips@techie-buzz.com with the URL and the problem you see and we will rectify it as soon as we can.

Browse Comment Pages: 1 2 3
  1. Mark A. on March 29th, 2008 at 3:37 pm #

    Just for clarification purposes. I am still on WP 2.3.3, running WPAU 0.8
    Can I run WPAU 0.8 to upgrade to WP 2.5 without breaking anything (except for some other plugins, maybe)?

    • Keith Dsouza on March 29th, 2008 at 3:43 pm #

      Mark yes you can upgrade the version from 2.3.3 to 2.5 without issues, the issues only crop up after you upgrade to 2.5 so whichever way you go upgrade and then run the automatic upgrade

  2. DT on March 29th, 2008 at 3:37 pm #

    What time was this post posted, as I just updated the WP Automatic Upgrade plugin with a new download. The Zip file is stamped with the time Sat, 29 Mar 2008 18:52:09. Is that the newest version?

    • Keith Dsouza on March 29th, 2008 at 3:42 pm #

      DT Yes that is the newest version which I released today.

  3. Crystal Renaud on March 29th, 2008 at 5:23 pm #

    i installed the plugin for the first time today. how will i know when the update takes place?

  4. Patrix on March 29th, 2008 at 5:42 pm #

    Thanks for the quick fix. However, there is a problem with reactivating the plugins. After upgrading the database, clicking on the next step link takes you to the first page of WPAU Manage screen. I had to go and manually reactivate the plugins. Based on twitter, few other people have also faced that issue.

  5. venkat on March 30th, 2008 at 1:54 am #

    Hi, Keith. I’am on WP 2.3.2, Should I first update to 2.3.3 and then to 2.5 or updating directly to 2.5 would cause any problem.

    In case any plugin presently active under 2.3.2 doesnot work on 2.5, would it crash the WP installation/upgradation or would the plugin be automatically be disabled by 2.5 Causing no problem.

  6. DazzlinDonna on March 30th, 2008 at 10:25 am #

    Same here, Patrix. The upgrade is going very smoothly for all of my blogs, but each time it fails to re-activate the plugins. Not a huge issue, but one that should be noted. Otherwise, I’m loving the smooth upgrade process.

  7. Phil Gyford on March 30th, 2008 at 10:31 am #

    I’m using WP 2.3.2 and when I try to activate this plugin I get “Plugin could not be activated because it triggered a fatal error.” Any suggestions? Thanks.

  8. Phil Gyford on March 30th, 2008 at 11:11 am #

    In case it helps, I just manually upgraded to WP 2.5 and when I click ‘Activate’ for this plugin now I get this:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected $end in /path/to/my/webroot/wp/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 1228

    • Andy on March 30th, 2008 at 10:04 pm #

      I too have this same problem. Any word on a fix?

    • Andy on March 30th, 2008 at 10:20 pm #

      I finally figured this one out.

      This error message appears on servers with short tags disabled. I went through the wordpress-automatic-upgrade.php file and found three places where tags needed to be replaced:

      line 470: <?= => <?php echo
      line 514: <? => <?php
      line 1027: <? => <?php

      Hope this helps.

  9. Christopher on March 30th, 2008 at 11:20 am #

    Hi, Thanks for fixing that conflict so quickly. I am still however not getting my plugins re-enabled after doing the automatic upgrade.

    I get a message asking if I’m sure I want to. I click on yes, but my plugins are not re-enabled. I’ve upgraded several blogs and the same thing happens to each one. Going from 2.3.3 to 2.5.

    Even with out that I am still saving time with your plugin.

  10. El on March 30th, 2008 at 12:47 pm #

    thank you so much for the fast update :) love this plugin!

  11. Jeff on March 30th, 2008 at 5:59 pm #

    Hi,
    I’m getting this:
    TASK OUTPUT
    Oops we cannot run the WordPress Automatic Update on your site. We are currently trying to fix issues for systems like yours and will release a new version shortly.

    After running v1.0

  12. Fabio on March 30th, 2008 at 9:39 pm #

    Wordpres.org says that WPAU requires WordPress Version: 1.5 or higher but it not works for WP 1.5.2, it reports an error:

    Fatal error: Call to undefined function current_user_can() in /home/.carrie/ksensei/ksensei.com/blog/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 626

    current_user_can it is not implemented in this version, isn’t it?

  13. F1Wold on March 31st, 2008 at 12:40 am #

    I upgraded to version 1.0 of this plugin, but I still have same problem as with the old version – all is fine up to the FILES BACKUP. But when I continue to the DATABASE BACK UP, everything stops there, I get blank screen, no download prompt message nothing … what may be the problem ?

  14. Razvan Antonescu on March 31st, 2008 at 5:00 am #

    Is this version working with 2.2? I am trying to use it but the upgrade page gives no links to continue the process and no errors either

  15. Leo on March 31st, 2008 at 10:02 am #

    I have the following problem…..I can’t connect to mi ftp with your plugin. It shows this message:

    Staring FTP client class without PORT mode support UMASK 022 Transfer type: auto ASCII Timeout 30 Passive mode on Host “ftp.webcindario.com(89.17.220.55):21″ Local OS : UNIX Creating socket _connect: socket connect failed ( ()) Error : Cannot connect to remote host “ftp.webcindario.com :21″

    I put the data in the form correctly

  16. IYan Writer on March 31st, 2008 at 11:18 am #

    Upgrade from 2.3.3 to 2.5 worked without a glitch for me.

    Thanks for a great plugin!

  17. John Watts on March 31st, 2008 at 4:44 pm #

    Howdy…

    Even using the new WPAU v 1.1, I get the following message:

    “Oops!!!!! We are unable to connect to the ftp site with the data your provided, could you cross check and give us the data again”

    I’m 99.9% sure I’m entering the correct info, even by going so far as copying and pasting from my FTP program, Fetch…

    Trying to upgrade from 2.3.3 to 2.5…

    HELP!!!!

    :-)

  18. dicky on March 31st, 2008 at 6:52 pm #

    I am still using WordPress 2.3.1, can i upgrade it to 2.5 directly? Or i need to 2.3.3 first? Thanks.

  19. mitch on March 31st, 2008 at 7:10 pm #

    ok so I updated using WPAU before seeing this info..and like the others I got the DB issue…now the WP is upgraded to 2.5 but I dont see any of my menus at all. I went into the DB using phpmyadmin and how do I activate the plug-ins manually..they are working on the site (like mygallery works fine) but the plugins tab is gone..do I change the 1 to a 0 in the wpau_active_plugins_info table?? please help

    Mitch

  20. John Watts on April 1st, 2008 at 10:58 am #

    Howdy…

    Even using the new WPAU v 1.1, I get the following message:

    “Oops!!!!! We are unable to connect to the ftp site with the data your provided, could you cross check and give us the data again”

    I’m 99.9% sure I’m entering the correct info, even by going so far as copying and pasting from my FTP program, Fetch…

    Trying to upgrade from 2.3.3 to 2.5, using Network Solutions as my host…

    HELP!!!!

    :-)

    • Fizfaz on May 4th, 2008 at 9:06 pm #

      Yes I also having same problem like this (wrong ftp data but I’m very sure I filled up the correct data).
      I realized that the problem is only happened at my blog which is installed at root. Others blog I installed at subdomain no problem with it. Only cannot automatically re-activate the plugin issue.

  21. Rosina Lippi on April 1st, 2008 at 1:11 pm #

    This is a really useful plugin, especially for those of us who are not comfortable rummaging around in the innards of a wp installation.

    However, this time (upgrading to 2.5) I can’t get it to work. I get the message:

    Seems you have not completed the clean up process from last upgrade. Please click here to run the clean up process before continuing

    Which I do. Click the link, wait while the wheel spins — and then the very same message pops up again.

    Any thoughts? Hints? And thanks again.

  22. Rosina Lippi on April 1st, 2008 at 8:41 pm #

    I thought I had posted this question already, but it seems to have disappeared.

    When I go to the automatic upgrade page, I get the message that the last installation needs to be cleaned up. So I click that button and watch the wheel spin. When it’s done, it takes me right back to the same message — former installation needs to be cleaned up before you can proceed.

    Is there a way around this? Any help much appreciated.

  23. John Watts on April 5th, 2008 at 11:41 am #

    See my above post – I STILL cannot get this to work – PLEASE – ANYBODY!!!

  24. Tim on April 7th, 2008 at 9:07 am #

    Hi

    just tried this and keep getting the following in the automatic process:

    Fatal error: Call to undefined function: add_filter() in /home/booksfor/public_html/wordpress/wp-includes/default-filters.php on line 4

    Restored the backup and tried doing it manually and got a page of error faults.

    Any clues?

  25. eL on April 26th, 2008 at 12:13 am #

    Is this plugin ready for WP 2.5.1 yet?

Browse Comment Pages: 1 2