Category module borked - can't add categories or update module
This one has me scratching my head. It is extremely important for me to resolve this so your help is appreciated.
First of all, I'm all up to date on Drupal 6.14, and I should be running the recommended version of Category, but it won't update even though the files have been updated and update.php run.
When I try to add containers or categories, I get the following error on all my sites, including a couple with hardly any contributed modules running (so I don't think it's a conflict issue).
Fatal error: Call to undefined function _category_flatten_values() in /path/to/sites/all/modules/category/wrappers/taxonomy/taxonomy.module on line 834
If I delete a category, I get the same error but on line 850. Here is the offending code:
case 'update':
$behavior = variable_get('category_behavior_'. $node->type, 0);
if (!empty($behavior) && empty($node->category['is_legacy'])) {
_category_flatten_values($node);So I guess category 'is_legacy', therefore the values need to be flattened. Um, OK. What do I do now?
By the way, the category is created, but none of the information about it is saved -- url, meta tags, description -- and it can't be attached to the node types for which it was designated.
Any ideas would be greatly appreciated. This module is a pain. It's so incredibly important, though.
