When ever I try to delete a context I get the following error:

user warning: Table '[my dbname].context' doesn't exist query: DELETE FROM context WHERE name = 'blog_node_global' in [path to my site]/sites/all/modules/ctools/includes/export.inc on line 189.

I am using a table prefix, I'm not sure if that is an issue or not. This might actually be a problem with ctool, but I'm not sure.

I removed my table name and path to my drupal root directory.

Comments

vegardjo’s picture

Status: Active » Closed (duplicate)

I had the same thing, it's a bug in ctools that has been fixed, see #904338: Contexts can't be deleted if database tables are prefixed. I had to manually patch ctools to fix it for now, but I guess it will be ok in the next version of ctools.