The following error is thrown during Honeypot uninstall in Drupal 6.x, only if caching is not enabled:

user warning: Table 'd6test.cache_bootstrap' doesn't exist query: DELETE FROM cache_bootstrap WHERE cid = 'variables' in /Users/jgeerling/Sites/d6test/includes/cache.inc on line 178.

This is likely due to my call to the following in hook_uninstall():

  cache_clear_all('variables', 'cache_bootstrap');

I should check to make sure the tables exist before clearing the caches. Or just forget about clearing those caches (is it really necessary?).

This may be an issue with 7.x as well...

Comments

geerlingguy’s picture

Title: user_warning on Uninstall of Honeypot for D6 » user_warning on Uninstall of Honeypot
Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Active » Patch (to be ported)

Changing title, will also port this to 7.x.

Commit for 6.x here: http://drupalcode.org/project/honeypot.git/commit/9803284 (I'll leave it as a -dev release for now, since it's not really a big deal at all).

geerlingguy’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.