WordPress Theme Update Error - wordpress

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,

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.

Related

How to update WordPress plugin readme file without upgrading version

I am a newbie using TortoiseSVN and I have created a basic plugin in the WordPress directory but I want to just update the description page (readme file) but couldn't do so.
The following are my steps:
Make changes to the readme file on my local computer.
Right-click on the readme file and select 'SVN Commit' (No errors, but this won't update the official plugin page hosted over at WordPress directory).
Right-click on trunk folder then select 'Branch/tag', point to existing tags/1.4 but the error says that the file exists...
May I know which step I have done wrong?
I have viewed the following thread but still couldn't find the solution myself...
Reference: https://wordpress.stackexchange.com/questions/301078/how-to-update-wordpress-plugin-readme-txt-description-page-without-triggering-a
I would appreciate any help from someone, thank you!

update failed during plugin installation of wordpress

I'm trying to install a woocommerce plugin on my wordpress website(locally) it is giving such error 'update failed' as you can see in picture,
how to fix this?
Go to wp-content/upgrade directory and change folder permission to 777 (chmod) or in windows make sure that the read only box is uncheck.
That only means you allow that directory to read write and execute without any restrictions.
You can also solve this error by increasing the execution time.
Just go to your Xampp Control Panel, Stop Apache server, click on config (Apache), then select PHP(php.ini) option, Press Ctrl+F type "execution" and hit enter, then just increase the size of execution time from 30 to 300, save the file and then start Apache again.
It Works for Me!
see sometimes there is compatibility problem of site effects. If you can not fix, you can install another similar plugin
or
install a plugin that stop the updates of plugins ot theme according to what you want, to stop only the update of this specific plugin, like
https://wordpress.org/plugins/block-specific-plugin-updates/
after when you fixed or come new version you restart the update procedure
An alternative that works for the installation of plugin is to upload the plugin via cPanel's File Manager or the FTP client (e.g FileZilla).
Download the WooCommerce Plugin from https://wordpress.org/plugins/woocommerce/. This will download a zipped file which can be uploaded onto the server.
After download, navigate your way to the wp-content/plugins folder on the cPanel. Upload the downloaded file, and extract the file to folder.
NOTE: remember to remove the version number from the name of the plugin after downloading e.g change woocommerce.4.0.1.zip to woocommerce.zip
It sounds like the files might have been corrupted during the update.
You’d need to access your site FILES, so that you can delete the WooCommerce plugin folder.
Locate the plugins folder, and remove the woocommerce folder from there. Once deleted, you should be able to go back to your site’s Dashboard and install the plugin again.
If you install any plugins/themes, this could be the reason for continuously fails. Add the below line of code in wp-config.php
define('FS_METHOD','direct');
Download .zip From wordpress org/plugins/woocommerce/

Could not create Directory wordpress local host error

Folks!
I am having problem uploading "ShopKeeper" theme on WordPress which is running on my own computer. I am a newbie and learning WordPress but whenever I upload theme it says (the error in the image)
enter image description here
I am using Xampp
I cannot comment yet, so this will be as an answer.
From what I see, it looks like you are trying to unpack the wrong zip file.
Please open the Archive you downloaded, you should then see a folder named Theme Files, or something similar, and you will find inside a .zip file.
Try to install the archive located here, and it should work.
Also, if it's not working yet, it might be due to permissions, which I don't believe. You should check your error logs. You will find them under the folder Applications of Xampp.

what is the necessary steps of plugin customization

I want to customize my plugin but I am beginner, so please tell me what is the necessary steps for plugin customization either plugin is completed or simple.
If you already have that particular plugin(which you'd like to customize) installed on your wordpress, you may find the source code files under the following path:
[your_wordpress_dir]/wp-content/plugins/
If you want to customize a plugin that is available for download, you may follow the below steps
download it from wp_download_manager
unzip the package and find the source files where you can customize it.
put the customized plugin package in the above mentioned path in your wordpress directory(if you'd like to have this plugin installed in your wordpress project).
If you want your plugin to be available for public, you may add it to wp directory
first you have to download the .zip file and unzip it. Then customize it like you need and make it to a .zip again. Then upload it on your Wordpress site.

Unable to install wordpress theme

i've downloaded a wordpress theme(clubber) but when i try to install it on my wordpress 3.9, it shows the error message while unzipping which is
The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
i have no idea whats the problem. please help
That has often been my expression of late as a result of my frequent WordPress troubleshooting.
Due to my busy schedule, I haven’t had time to login to my blog. On one of my spare time, I took it as an opportunity to update my plugins, as usual with WP automatic update via my dashboard. One of such plugins that desperately needed an update was WpOptimix, a premium WordPress security plugin. While the update was going on, suddenly it came to a halt and below is the error message I got
An error occurred while updating wpOptimix: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
I knew this has to be a server configuration, since I have got no time to spare, rather than spending countless number of hours troubleshooting this error, I decided to take the shortest way out – deactivated and deleted the problematic plugin, re-downloaded, uploaded and activated the updated plugin Archive file (.zip) via WordPress plugin dashboard (http://yoursite.com/wp-admin/plugin-install.php?tab=upload).
A known solution to this problem is simply commenting out mbstring.func_overload php.ini directive (subject to your host granting you access to php.ini) as signified below
;mbstring.func_overload=7
You must unzip the downloaded theme zip file after then you should open unzipped folder and see another zip file overthere. that zip file you have to upload on WordPress > Add New theme page. I'm sure you'll not get that error again on your computer screen.

Resources