Phew! I felt I learnt a lesson today… to follow instructions!

I was upgrading this blog to WordPress 2.2, and halfway along my installation process, along came an unfriendly error message that went something like this!

Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes)

The main page of the blog was still up running, but I couldn’t access my back end. I couldn’t upgrade, I couldn’t add new posts… nothing! I thought that this was it!

Good thing I searched up the error message and found that it was not a serious issue, and I got into the WordPress forums, where someone else had the same issue a while ago.

Apparently, the upgrade script was trying to take up too much memory (beyond the default limit of 8MB), and it was because I hadn’t disabled my Plugins before my upgrade. You know the lazy me! :P So I had to log into the database backend (phpMyAdmin) to manually disable the Plugins, run the script, and then enable them again.

So now I see the reason why Matt and team tells us to disable the WordPress Plugins before we upgrade. You can be sure I’ll do that for my next upgrade, and also make sure I backup my database before I do any drastic changes to the installation.

Well, it always requires a lesson like this before someone learns, isn’t it?