0
votes

I downloaded a theme called MyWriter. In my WP panel it says I should update it, when I click update I get this error:

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

It uploaded correctly and works fine as well. But I thought before I start customising it properly, I should update it. Does anyone know how I can get past this?

Thanks,

1

1 Answers

0
votes

Can you download the theme package and unzip it manually? The most likely cause of the error is that the zip is corrupt or that it was not compressed with zip.

If you can unzip the theme package, you could then upload the latest version via FTP to the folder /wp-content/themes/mywriter (please note the actual folder would be case sensitive so if its myWriter or MyWriter or some other variation be careful to upload it to the right place).

Or you could try rezipping it (using zip) and upload it via WordPress admin.

Incidentally, if you are intending to customise the theme substantially, then you should use a child theme. Otherwise next time the theme is brought up to date by the theme author you could stand to lose all of your customisations. For more information about creating a child theme, the official WordPress guidance can be found here https://codex.wordpress.org/Child_Themes and is explained more simply here https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/

Hope this helps.