iPaper was my first Wordpress plugin and I didn’t think about upgrade, but now it’s time to have a new version and problems appear.

There is nothing I can do except this post to explain you. I had a good intention of cleaning iPaper data when deactivate the plugin, but in fact it’s not a good idea, not at all. In Wordpress, when you upgrade a plugin, the plugin is deactivated, upgraded and activated. That’s the problem… during upgrade you will lose your settings.

Moreover, I have not implemented mechanism to alert you in plugin list about new version as some plugins do. Then, if you don’t see this post, you will have a bad surprise after upgrade to next version. The good news, you just have to set logins options back, synchronize and everything will work fine, then if you read this, make a copy of login, password, api key and api secret to restore it quickly.

There is a solution to avoid this, but you have to remove yourself one line of code in iPaper, here is the solution : Before upgrading plugin, open file ipaper.php and just remove line 649

Of course this problem won’t happen anymore, and I implement mechanism to display upgrade message in plugins list, just in case of