Following my recent upgrade to WordPress 2.5 (RC1) on my other blog/website I could not get my favourite statistic plugins working. The first, WP Slimstat, is no longer under development and is not compatible with WP 2.3 and above. The latter, Popularity Contest, is supposed to work with the latest WP versions but triggered a fatal error during install (at least for me).
At first glance it would appear I’d have to look somewhere else for alternatives. On the other hand I could dive into the code and try figuring things out myself. I decided on the last option.
Fix – Alex King’s Popularity Contest (v.1.3b3)
Fixing the installation error was far easier than anticipated. This is what you need to do if you experience any difficulties or plan on upgrading:
- If you have an older version deactivate the plugin.
- Download the latest release (link above).
- Open popularity-contest.php and scroll down to line 59. Replace
- Upload the edited file to your plugins folder (sub directory popularity-contest)
- Reactivate the plugin
I tried posting a comment mentioning the problem, but it went into comment heaven. The issue will most likely be solved with the next release (but I couldn’t wait…).
Update: In case you are doing a fresh install you might also need to create the DB tables manually. More about how to do this here.
Update – Camu’s WP Slimstat (v.0.92)
To avoid repeating myself please see my post “How to view and collect visitor statistics” for a proper solution. This tiny update should keep WP Slimstat working until the WordPress team decides on more DB changes. With any luck this might take awhile…
The “IP to Country database” update is not necessary, and will only apply for new log entries. However, to keep the data more or less correct it is probably a wise decision to have the database more up to date.
Feel free to let me know if you have any difficulties running these updates, or know of other plugins you’d liked “fixed”.