Sometimes it’s not that good to have too much updates so often. Every now and then I will have to be bugged by the message “Your WordPress is out of date. Please update to version xxx”. To be honest, I feel harassed. It seem that it wasn’t that long ago that I upgraded to version 2.5, now they have 2.5.1! Aiyo, one of these days I’m gonna have to install one of those auto-upgrade features.
I have purposely put off the upgrading to the very last minute, until my plugins won’t work anymore. Hesitantly I upgraded it. It all seem smooth at first, until my page returns BLANK! What happened? I quickly disabled all plugins, but it still shows blank! In panic, I restored the previous files, but to no avail. I even sent a bug to help desk.
I didn’t wait for them to reply. I tried to debug it. Luckily I found the error logs and where to retrieve it; from the cpanel. The error files showed where the error was, in my side.php file, it told me:
PHP Fatal error: Call to undefined function goldfries_randomposts() in /home/xxxxxx/public_html/wp/wp-content/themes/df_simpress/side.php on line 49
The plugin by Goldfries is giving me problems. Upon inspection, it’s actually the Random Post by Goldfries. My auto plugin update said that it needs an update, and that update has changed ownership. It no longer belongs to Goldfries, it is now belonging to a Rob Marsh. There is a simple solution for this. Change the code in your page like this:
<?php goldfries_randomposts(); ?>
<?php random_posts(); ?>
After that my website works properly. Goldfries, it seems that you will need to update your plugins. I’m sure there will be a lot more people who will encounter this error.
Oh yeah, Goldfries’ random post is not the only plugin that does not work with WordPress 2.5.x. It seems the Popularity Contest by Alexking is also not compatible. It does not break my site (yet). Let’s hope someone will pick this up and solve it soon, or else I will just have to remove it from my website.