Error when updating Soledad theme from within Wordpress

When I updated my Soledad theme from within Wordpress I get this error message:

Update Failed: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

When I download the file and “install new theme” as per the install instructions in the Soledad documentation, I get this error:

 Destination folder already exists. /home2/XXXX/public_html/XXXXX/wp-content/themes/soledad/

 Theme installation failed.

What to do? Please help.

Hi

in your website theme diretory already the theme folder exist. So, when you are trying to update from wp-admin it is displaying error. So, you have to use ftp to update the theme.

another way to get auto update features you can use Envato Market WordPress Plugin. This plugin helps customers receive updates to their premium Themes & Plugins purchased through Envato Market (ThemeForest & CodeCanyon).
Please download the plugin from here:

otherwise you can download the update version from Envato Market download page and update manually using ftp.

Thanks

Thanks. I installed the plugin and then updated and got this message:
Update Failed: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

you can download the update version from Envato Market download page and update manually using ftp.
please keep a backup before doing any update.

I FTP’d and even that is not updating my theme.

ok the FTP worked… matter of putting in the right root folder rather than the “soledad” sub folder. Thanks for your help… though I don’t know why the plugin does not work. Neither does the WP update function work.

happy to know that worked.
update from wp-admin will not work because of same folder ecistence. so, ftp is the better options for theme update. plugin update should possible but if the plugin you received with theme theme bundle then auto plugin update from wp-admin may be will not work in that case have to use ftp.

better to ask to the theme author.
How to contact an author:

Thanks

I am dealing with the same exact issue. I have had this Soledad theme for a few years now and this would be the first time that I would need to install an update through ftp. All the previous updates worked through the wordpress theme dashboard. Why cant we update it the way it is supposed to be updated? Isnt that they whole point of updating option through through the wordpress dashboard?

6 Likes

I have the same issues. I have always just updated the theme through update section on WP. How do you update it using the FTP?

1 Like

Hi, I had this same problem, thread here: Why isn't my Envato/themeforest theme letting me update? ERROR: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Records

copy and paste of my solution:

I solved it, though I’m not happy with what I had to do.

I downloaded the zip file for the updated theme that was emailed to me, and tried manually installing that. It said that it couldn’t because it already had a directory there. However, that gave me the location of the theme on my server: /var/www/html/wp-content/themes/soledad.

I went to my server and moved this folder (since I was afraid it wouldn’t save changes/options I had done for the theme) by going to that directory and doing:

mv soledad backup_soledad

(so it’s just changing the name of the folder and I could change it back if it broke stuff).

Then I updated from the dashboard and it worked successfully. Good luck. Lord knows why we have to do this.

Thanks for this explanation even though I don’t understand it. I am yet to update my site as I have been getting the same error and I am afraid of breaking anything on my site. Very frustrated with this update

Hi, I’m not an expert by any means but I can try and help. Which part of it don’t you understand?

How were you able to get the file emailed to you?

I found the location of the theme on my server. (same location as yours) what steps did you take after that?

What version is the new soledad theme? I’m not sure if I have updated the right one.

Hello. I’m having the same issue and I can’t even find the envato plugin mentioned above. The last time I updated this theme by downloading it to my computer and doing it manually was a disaster and I lost all of my settings, fonts and customizations. I don’t want to go through that again. There has to be an easier way. Does the creator of the theme understand that people are having issues with this update? Can a correction be done so that we can just skip this update and go to the next? Thanks. FYI - this is the error I am getting: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

Hi, I’ll try to help from what I understand (take with a grain of salt):

  1. I was emailed by themeforest that there was an update. The email had a link to where I could download the .zip of the theme update, but I don’t think this is necessary – when I successfully updated, I just did it from the dashboard.

  2. Yesterday when I updated it, it was from versions 7.2.3 to 7.3.0. However, today it appears that there’s another update, to version 7.3.1. When I try updating it through the dashboard, I again get the error:

     ## Updating Theme soledad (1/1)
    
     Downloading update from http://wp-updates.com/api/1/download/theme/EJtjYp9z-Pb8fCsMfgMNIA/soledad…
     Unpacking the update…
    
     An error occurred while updating soledad: **The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature**
    

so, I think I have to do the same thing as yesterday to update it.

  1. What I did is in my first post in this thread, and my linked thread. I went to the server, copied my theme folder (mine was located in /var/www/html/wp-content/themes/ and called soledad/). I did:

    cd /var/www/html/wp-content/themes/
    mv soledad backup_soledad
    

This is just going to that directory, and then changing the name of the soledad folder to backup_soledad. The problem is that it’s trying to update, but the folder it wants to create (I think?) is already there. I just changed the name, so if it messed things up, I could just change it back to fix it.

After doing those two commands, I went to the dashboard and updated through that (nothing having to do with manual zip files, etc). It worked, and appeared to keep all my customizations. However, no guarantees! maybe you’ve done something special that would get overwritten if you do this, I’m not very familiar with wordpress.

It’d be nice if they fixed this.

EDIT:

I just did the update from 7.3.0 to 7.3.1, doing what I said above. It worked fine. However! It appears that the backup_soledad folder I moved disappears after doing the update from my dashboard! So it seems like it might search for existing folders with “soledad” in the name, and remove them. My settings/etc are still all working, but be careful.

Thank you. This is how I used to have to do all of my updates and it was a pain in the you know what and finicky. Sometimes I had to recreate my layouts and whatnot. I’ll have to go that route however if they don’t fix the glitch. Thanks.

OK. It finally work after causing disastrous problems yesterday. I appreciate your help. Phew.

I am trying to upgrade Soledad from 7.2.3 to 7.3.1.

It gives this error:
Update Failed: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

Is there a way from Soledad to get it fixed?