WordPress 2.5: Popularity Contest Plugin Fix

After upgrading to WordPress 2.5 earlier today, I found one problem. The Popularity Contest plugin (generates a list of the most popular posts on your blog – it powers the Have you read these? list on the right) wasn’t working. Fortunately there’s an easy fix.

In the WordPress admin area, choose Plugins, then scroll down to Popularity Contest, and click Edit. Scroll down until you see this bit of code:

if (!isset($wpdb)) {
require('../../wp-blog-header.php');
akpc_init();
}

Remove one of the ../ from:

require('../../wp-blog-header.php');

and choose Update File. That’s it!

More info on this error is available in the WordPress Support Forums.

One Comment

  1. Thank you for this!! Just what I was looking for.

Leave a Comment

Books
  • "Highly recommended."
  • "Important and insightful."
  • "Impressive. Read it."
  • Order from Amazon.com
  • Wikipatterns book: a practical guide to improving productivity and collaboration in your organization Using Wiki in Education wiki book

    random image

    Photos
    Click the photo above, or choose a photo essay
    Airbus FactoryBarcelona & MadridBritish Museum
    IstanbulPortoSydneyVancouverYosemite




    Work
    Future Changes is the online home of Stewart Mader, an experienced content strategist and project manager, dynamic speaker to corporate audiences and conferences, and author of two books. He has helped organizations around the world, including Booz Allen Hamilton, Brown University, ICANN, MARS, SAP, and The World Bank develop content strategies and build products that increase information value, collaboration, and employee & customer engagement.

    Future Changes, founded in October 2005, has been cited by CIO Magazine, Fast Company, InformationWeek, InfoWorld, The Guardian, The New York Times, and The New Yorker.

    View Work Samples and Work with Stewart