_taxonomy_access_term_options was found in the system and field_config tables. This created the following error:

Fatal error: Call to undefined function _taxonomy_access_term_options() in C:\xampp\htdocs\dcc_devel\modules\taxonomy\taxonomy.module on line 1377

To clean this up, I ran the following code:

DELETE FROM `system` WHERE `filename`='sites/all/modules/contrib_modules/taxonomy_access.module' LIMIT 1;
DELETE FROM `field_config` WHERE `type`='taxonomy_term_reference'

These entries should be cleaned up upon module uninstall, however, they were not.

Comments

fogus’s picture

Actually, don't do that bulk delete on field_config. You will lose your fields. What you want to do is go through the data field on the "field_owner" entry and find where it says:

a:1:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:4:"tags";s:6:"parent";s:1:"0";}}s:21:"options_list_callback";s:29:"_taxonomy_access_term_options";}

And change that to this:

a:1:{s:14:"allowed_values";a:1:{i:0;a:2:{s:10:"vocabulary";s:4:"tags";s:6:"parent";s:1:"0";}}}

pixelsweatshop’s picture

Status: Active » Closed (duplicate)