prefix . ""; echo "Base prefix: " . $wpdb->base_prefix . ""; $tables = $wpdb->get_results("SHOW TABLES LIKE '%sxiai%'"); foreach ($tables as $t) { echo "Table: " . current((array)$t) . ""; } echo "=== wp_sxiai_policies EXISTS? ==="; $check = $wpdb->get_var("SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = DATABASE() AND table_name = 'wp_sxiai_policies'"); echo "wp_sxiai_policies: " . ($check ? "YES" : "NO") . ""; $tables2 = $wpdb->get_results("SHOW TABLES LIMIT 20"); foreach ($tables2 as $t) { echo " " . current((array)$t) . ""; } exit; } ?>