Hi,
can you please tell me which error so I can try to understand what’s happened?
I simply clicked update and the entire page went into code and said error. I fear if I try to reproduce it – it will compromise my site.
Hi,
what did you do after you got the error?
Now the plugin is activated or deactivated? Is it still version 2.6?
Were you updating just my plugin?
Thanks for these info
After the error page I clicked ‘installed plugins’ again and it did not update, it’s version 2.6 and it’s still active.
That would mean that the plugin hasn’t been updated…
When WP performs a plugin update:
- it downloads the archive
- unzips it in wp-content/upgrade
- deletes the old plugin directory
- and moves the new plugin directory from wp-content/upgrade to wp-content/plugins
So if you still have the old plugin directory, the error has to be occurred when downloading or unzipping the archive, but both those operations don’t depend on my code…
Maybe it’s been a temporary problem of WP.org serving a corrupt archive?
You should try, if you can, to perform the upgrade again, but only if you have FTP access so you can delete wp-content/plugins/duplicate-post if the site has problems…
Thanks for your suggestions