DB Cache Reloaded Version 2.1 Not Compatible With WordPress 3.1

I have been using DB Cache Reloaded for a while now, it has better performance than W3 Total Cache database cache. You may read my previous article Guide To Improve Your WordPress Blog Performance For Free. Now I have updated my clone of this blog to use WordPress 3.1 for testing purposes, at the beginning it was fine. But now it turns out that I have an issue with DB Cache Reloaded which is not compatible with WordPress 3.1.

I dug around for a while and found that it’s not just me. There are some other users with the same issue. See it here.

The error says:

DB Cache Reloaded Error: wpdb class is redefined, plugin cannot work!
Previous definition is at /home/freempon/public_html/wp-includes/wp-db.php:52.

DB Cache Reloaded could work with wrapper mode, but it has less performance. I like DB Cache Reloaded, so now I will wait on upgrading my WordPress to version 3.1 until the DB Cache Reloaded issue is fixed.

Update: I created a patch for DB Cache Reloaded. Available for download at DB Cache Reloaded Fix Updates.