25

Am I a machochistic fuck?
This sunday I had the glorious idea to fix a not-so-recent Wordpress website for a friend.
Imagine an upgrade from 3.3.2 to 4.9.8! (and PHP 5.5.old to 7.2.new

Oh boy. I thought it was impossible, because the site uses a free theme from 2012 and had some other plugins installed.
But what kind of developer am I, if I give up so easily?

I forced XAMPP to run PHP 5.6.stoneage in order to let me debug this thing. After some fixing in different files, I was able to get the admin panel back, disabled some plugins and then overwrote the installation with WP 4.9.8. After firing up the admin panel I had to fix 20 differend PHP files in the plugins.

Finally! After the plugins were updated, all worked again.
Except for the backend part of this free crappy theme. It uses an old version of JQuery UI widgets with custom mods.
I've done enough for today so I let it be like this. I'm not in the mood to load a second JQuery version.

Comments
  • 8
    You aren't a masochist, you just care. And that's what matters. We need more people that are willing to, even though it might suck, make these changes to better the world. Keep up the good work, my dude. :)
  • 4
    Starting from scratch vs updating, which is quicker for your project?

    I'm facing one on my own and still haven't decided yet.
  • 6
    I think machochist is my new favorite word 👌
  • 3
    @cursee I think it depends on which plugins are installed and needed (upgradable).
    I think in most cases with such an old WP it's worth the effort to do it from scratch because then you know everything will work.

    @tokumei Oh... you just made me realize the typo. 🤔
Add Comment