So, the latest version of WordPress has just been released, version 2.2. I hadn’t upgraded MInTheGap to 2.1.3 because I figured that 2.2 would be coming out any day now and I was going to wait for those features.
Because of Stephen’s problems with losing his posts and not having a backup, I made sure to install the latest version of WordPress Database Backup which includes the ability to have your database saved, zipped up, and sent to you every day in your e-mail.
A few days ago, I had gotten a development environment on my Windows XP computer using xampplite so that I could test some things before deploying.
So, when I saw the new version was out, I was pretty much sure I was set– so I decided to test it first. I don’t know about you, but disabling all the plugins and then re-enabling them is a pain, so I decided to unleash the version on my local copy first, see what bad things happened, if any, and then deploy to “production.”
Well, the upgrade looked like it went fine, but I did have a small problem I noticed. The tag cloud on the left side was replaced by the Overall Top Posts. No big deal, I thought. Probably a problem with that plugin. So, I decided to launch it in production.
I tried restarting the category tag cloud component with no success. It was then that I recognized the magnitude of the problem. It wasn’t just the tag cloud. It was the Executable PHP Widget. Sure enough, all of the PHP widgets were showing the Top 10 Daily Posts.
What happened next was a lesson in chaos. I proceeded to try to run the old Widgets plugin (since one of 2.2’s claims to fame is that it has widgets built in)– no good, it faulted.
Next I tried restarting the PHP plugin. That didn’t work. Before I finally got it I ended up going into the database, hacking the widget_php option in the Options table, tried removing things from the sidebar_widgets option, and googled my brains out trying to see if anyone else had run into this.
So, what did I do? Crazy as it may seem, I’m now running Disable WordPress Widgets to disable the 2.2 widgets, and I turned back on the old widget plugin. I had to use my database backup running locally to get the old text for the PHP Options.
So, remember, test first. Have good backups of code and databases. Don’t panic when things go wrong. And be thankful that it’s only software!