// $Id: taxonomy_access.module,v 1.102.2.14.2.13 2008/02/23 20:42:08 keve Exp $

_taxonomy_access_get_nodes_for_term() lives in taxonomy_access_admin.inc, module needs an include_once of the latter.

The error message happens in my site when using taxonomy_manager to delete a term from a freetagging category.
bypassed it by adding the following right before the function call but the real solution should maybe be a bit more elegant?

$path = drupal_get_path('module', 'taxonomy_access');
include_once($path . '/taxonomy_access_admin.inc');

Comments

keve’s picture

Status: Active » Needs review
StatusFileSize
new1.78 KB

Please, test patch.

jvlagsma’s picture

Installed a fresh download on my test system, confirmed problem exists, patch applied successfully and problem is gone, I can correctly delete a term.
Many thanks for your quick support!

houndbee’s picture

Status: Needs review » Reviewed & tested by the community

Patch tested and works.

js1’s picture

This problem exists on the Aug 18, 2008 download. The patch appears to fix the problem.

cpugeniusmv’s picture

StatusFileSize
new870 bytes

Does the attached patch fix it as well? This is what I did for 6.x, so I'd rather go with this if it works as well.

cpugeniusmv’s picture

Status: Reviewed & tested by the community » Fixed

I went ahead and committed my patch, please reopen if it didn't fix it.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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