This the error i get
DB Cache Reloaded Error: wpdb class is redefined, plugin cannot work!
Previous definition is at /home/xxx/public_html/xxx.com/wp-includes/wp-db.php:52.
This the error i get
DB Cache Reloaded Error: wpdb class is redefined, plugin cannot work!
Previous definition is at /home/xxx/public_html/xxx.com/wp-includes/wp-db.php:52.
If i go to the plugin page
I get
DB Cache Reloaded Error: wpdb class is redefined, plugin cannot work!
Previous definition is at /home/xx/public_html/x.com/wp-includes/wp-db.php:52.
DB Cache Reloaded Error: DB Module (wpdb class) is not loaded. Please open the Options Page, disable caching (remember to save options) and enable it again. If this will not help, please check FAQ how to do manual upgrade. (i already did this)
I disabled and re enabled the plugin.
Still getting errors.
Good thing i only upgraded a test site.
I cleared the both caches and deleted and reinstall DB Cache Reloaded.
Ill give the programmer time to correct it.
OPS, sorry for the multiple posts, just noticed the EDIT button now. :(
I'm experiencing the same problem. It appears that DBCR's extension/rewrite of WP's WPDB class isn't working because that class has been revised. Hopefully, the developer can figure out what needs to be done.
Same for me. Waiting for solution... Hope they will fix this soon.
With "Wrapper mode" I haven't errors.
Mine is broken as well. Any ETA to an update? Thanks!
I enabled the Wrapper Mode and there are no more errors in 3.1.
Yes, wrapper mode works -- just tested. As wrapper mode is, per its description, "less efficient", hopefully the default mode will be fixed at some point.
Guys, simply DISABLE DB Cache Reloaded and click on "Save". After this, ENABLE the plugin again, click on "Save" and... voilá! The error's gone!
I've already tried that, and I'm afraid that's not the case as far as I can tell. If you come back to DBCR page later, the error is still there.
Yup, I can confirm that disabling and enabling did not help. After dashboard refresh it shows again error. At the moment I am using WP Super Cache and I think that it is better solution for now.
@inzaghi89 > Wp Super Cache is caching your pages, DB Cache Reloaded is caching database access ; they're not doing the same caching and you should use them both ;)
Hi,
I'm also having the same issue... "DB Cache Reloaded Error: wpdb class is redefined, plugin cannot work!"
"Previous definition is at /home/pxxxx/public_html/xxxx.com/wp-includes/wp-db.php:52."
I just upgraded to WP 3.1 and tried everything I could to get the DB Cache Reloaded plugin to work.
looking forward to a 3.1-compatible upgrade!
confirm that 1. disable DBcache 2. save 3.tick enable wrapper mode 4. save
good to go.
cheers
@gordolake the plugin does function using 'wrapper mode'. Otherwise, it fails.
Just enable 'wrapper mode' and it will correct the problem. Login to WordPress and go to Settings >> DB Cache Reloaded. See Advanced' section below -- if the 'Wrapper Mode' is Disabled, then you need to enable it.
To enable it, uncheck the 'Enable' box at top and click the 'Save' button. Look for 'Enable Wrapper Mode' in the 'Advanced' section below and click the box to enable it, then click the 'Save' button. That's it in a nutshell!
The problem is about file/directory permissions when you update to 3.1 version.
Change wp-content dir to 775 (permission)
Yes wrapper mode and file/directory permissions can fix it
But i,m not about to MANUALLY do this on 60+ wp installs.
Ill wait for the plugin to be fixed, (which is a TRUE fix),then upgrade those sites to wp 3.1
agree w/ jfrovich.
This has been a very good plugin, looking forward to the update.
same error
wait for update
Hi i make patch for DB Cache Reloaded so it is working with WordPress 3.1
Please download it on my blog at:
DB Cache Reloaded Fix For WordPress 3.1
Hope my patch help everyone.
Thanks and Regards
Ivan
Hi now my patch is available on WordPress repository.
It available at:
DB Cache Reloaded Fix
Thanks
Ivan
I'm afraid the fix isn't working for me. I'm getting this error:
Fatal error: Class 'dbrc_wpdb' not found in {site}\wp-content\db.php on line 96
Hi stevemagruder,
i have update db-cache-reloaded-fix 2 days ago to fix that.
Please update the plugin.
Thanks
Ivan
i installed DB Cache Reloaded Fix , activated but still get error
DB Cache Reloaded Error: wpdb class is redefined, plugin cannot work!
Previous definition is at /home/wp-includes/wp-db.php:52.
Please make sure you activate DB Cache Reloaded Fix instead of DB Cache Reloaded plugin
The fix now works for me. Thanks Ivan!
This topic has been closed to new replies.