DISQUS

Is There Food?: Wordpress 2.2 Upgrade Fun

  • K.G. Schneider · 2 years ago
    Hey, you-me both, except I tried it on a test blog first. Um, how do I get the widgets to work again..?
  • Dan · 2 years ago
    I had to recreate them all. I went into the database, pulled out the old code, then pasted that into a set of new Widgets.

    There's a bug in 2.2 that prevents PHP code working in Widgets too. Have a search on the Wordpress forums for "php widget", apply the fix to widgets.php, then use the ExecPHP plugin to recreate any php using Widgets you might have.

    You'll also need to remove the old Widgets plugin.

    I'd use the WP-Admin pages to copy everything out of your Widgets, upgrade, then recreate them.
  • Halina · 2 years ago
    Hi

    Oh, it's not just me... I've just went through the same thing as you, with not being able to come into admin at all. Downgraded back to 2.1.3 and that looks fine for now.

    I very much appreciate you sharing this...
    I wonder if I maybe should wait until the next release of Wordpress? I really don't want to mess up my installation, especially as I'm not into .php

    What do you think?

    Thanks!

    Halina
  • Halina · 2 years ago
    p.s. Couldn't wait... :-)
    This time the upgrade went just fine.
    I use The Widgetize Anything plugin to create php widgets and that works OK.

    I still love Wordpress...

    :-)
  • K.G. Schneider · 2 years ago
    I found that deleting the widget plugin and finding a new theme was all I really needed to do. It was just more of a change than I bargained on at the time, but it's all good... WP still rocks!
  • Dan · 2 years ago
    Glad you both got it working. Yes, I had to remove the old Widget plugin too; I was going to mention that ;)

    I still love WP - it's the best of its class. But I dread 2.3 - the tagging changes are going to hurt, I just know it.

    Still, pain of upgrading to 2.3 versus pain of migrating away from Wordpress...2.3 probably less work.
  • K.G. Schneider · 2 years ago
    Well, where would we go? :-) b2evolution is awful. Movable Type is moribund. that leaves.. WordPress!