Title: &#8220;Upgrade automatically&#8221; generates errors, not functioning
Last modified: August 19, 2016

---

# “Upgrade automatically” generates errors, not functioning

 *  Resolved [rklau](https://wordpress.org/support/users/rklau/)
 * (@rklau)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/)
 * Have 2.5 installed and working properly at [http://www.rklau.com/tins/](http://www.rklau.com/tins/).
   Only feature not working is the plugin updater. When plugins are activated, I
   get the following error when I try and “upgrade automatically” for any plugin:
 * ‘Fatal error: Cannot redeclare pclziputilpathreduction() (previously declared
   in /xxxx/yyyyyyy/public_html/tins/wp-content/plugins/wordpress-automatic-upgrade/
   lib/pclzip.lib.php:5421) in /xxxx/yyyyyyy/public_html/tins/wp-admin/includes/
   class-pclzip.php on line 5489’
 * When I deactivate all plugins, I get a different error:
 * ‘Unpacking the update
 * Could not create directory’
 * I’m happy to deactivate all plugins (I’ve read elsewhere this is required for
   the upgrade to work), but it would appear that I need to change permissions on
   a directory somewhere. Any ideas?
 * –Rick

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [jpigford](https://wordpress.org/support/users/jpigford/)
 * (@jpigford)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-722570)
 * I’m getting the “Could not create directory” error as well.
 *  Moderator [Dion Hulse](https://wordpress.org/support/users/dd32/)
 * (@dd32)
 * Meta Developer
 * [18 years, 2 months ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-722670)
 * > ‘Fatal error: Cannot redeclare pclziputilpathreduction() (previously declared
   > in /xxxx/yyyyyyy/public_html/tins/wp-content/plugins/wordpress-automatic-upgrade/
   > lib/pclzip.lib.php:5421) in /xxxx/yyyyyyy/public_html/tins/wp-admin/includes/
   > class-pclzip.php on line 5489’
 * Once you upgrade to the latest WordPress Automatic Upgrade plugin the upgrade
   will work without having to disable it. (I think 1.0 fixes it)
 * As for the Cannot create directory error, That sounds like a permission error.
   
   Can you check that the folder wp-content/upgrade/ exists? If not, try creating
   it and running an update again. Allthough the folder should be autoamtically 
   created, it may not be being created correctly.
 *  [jpigford](https://wordpress.org/support/users/jpigford/)
 * (@jpigford)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-722677)
 * As dd32 hinted at…the “Cannot create directory” error is indeed a permissions
   error. Make sure your wp-content/plugins and all the sub-folders in the /plugins
   directory are writable and it should solve that issue.
 *  Thread Starter [rklau](https://wordpress.org/support/users/rklau/)
 * (@rklau)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-722699)
 * Great feedback everyone, thanks!
 * I had to create the /wp-content/upgrade directory (it was not present), set permissions
   to 777, then update the permissions in wp-content/plugins to 777 as well. Finally,
   I emptied /wp-content/cache – and plugins are now updating successfully.
 * Thanks for the help.
 *  [Jay Mayu](https://wordpress.org/support/users/mayooresan/)
 * (@mayooresan)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-723121)
 * > Warning: Invalid argument supplied for foreach() in /home/mayuonli/public_html/
   > blog/wp-includes/classes.php on line 92
 * I’m getting this error in home page and in manage posts admin page….!!!
    can’t
   access single page.. it returns 404 error… 🙁
 * Mayu
 *  [Jay Mayu](https://wordpress.org/support/users/mayooresan/)
 * (@mayooresan)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-723129)
 * my prob solved
    I got da same prob while upgrading to WP 2.5!!! Later I come 
   to know from Ravidreams dat it’s a theme related issue.. use Cutline 2.1 by Chris
   Pearson and David Peralty. It’s a solution for this problem!!!
 *  [Shelley Keith](https://wordpress.org/support/users/bloom/)
 * (@bloom)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-723315)
 * I’m getting the error:
 * `Incompatible archive: PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central
   Dir Record signature`
 * on one of my sites, but not on any of the others on the same server. What’s the
   fix?
 *  [Rafael Arcanjo](https://wordpress.org/support/users/arcanj0/)
 * (@arcanj0)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-723326)
 * I’m getting the error:
 * > Downloading update from [http://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip](http://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip)
   > Unpacking the update
   > Could not create directory
 * The directory upgrade was created with 775 permitions and the directory plugins
   has the same permition rule.
 * What can I do ?
 *  [Rafael Arcanjo](https://wordpress.org/support/users/arcanj0/)
 * (@arcanj0)
 * [17 years, 12 months ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-723473)
 * Solution for problem bellow
 * [http://wordpress.org/support/topic/170586?replies=3](http://wordpress.org/support/topic/170586?replies=3)
 *  [kramfs](https://wordpress.org/support/users/kramfs/)
 * (@kramfs)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-723588)
 * If this is related to WPAU or WordPress Automatic Upgrade plugin conflicting 
   with the automatic upgrade function of the WP core, you can disable WPAU and 
   try upgrading again:
 * [http://kramfs.com/2009/02/11/wordpress-automatic-upgrade-fatal-error-cannot-redeclare-pclziputilpathreduction/](http://kramfs.com/2009/02/11/wordpress-automatic-upgrade-fatal-error-cannot-redeclare-pclziputilpathreduction/)
 *  [thydzik](https://wordpress.org/support/users/thydzik/)
 * (@thydzik)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-723589)
 * thanks kramfs!
 * glad WordPress has built in automatic upgrading now.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘“Upgrade automatically” generates errors, not functioning’ is closed 
to new replies.

## Tags

 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)
 * [wp2.5](https://wordpress.org/support/topic-tag/wp2-5/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 8 participants
 * Last reply from: [thydzik](https://wordpress.org/support/users/thydzik/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/upgrade-automatically-not-generates-errors-not-functioning/#post-723589)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
