WordPress Table ‘*_dtree_cache’ doesn’t exist
-
On a multisite running on sub-sites, these messages are flooding the log because the plugin checks for a table with the main blog prefix.
Using
get_blog_prefix()like this from line 1 in wp-dtree-cache.php should fix it:<?php //In WP 2.6, I suddenly got problems with global variables "dissapearing", so these getters are... Q&D. function wpdt_get_table_name(){ global $wpdb; return $wpdb->get_blog_prefix() . "dtree_cache"; }Too bad the plugin does not simply use WordPress own Transient API to store cached strings though… Much simpler and avoids the need to create new DB tables.
The topic ‘WordPress Table ‘*_dtree_cache’ doesn’t exist’ is closed to new replies.