Using Drupal version 4.5.0
I have installed the module (cvs Revision 1.21) , table and also applied the patch to taxonomy module.
i am getting the following error, when i click "enable the taxonomy_access module" under settings

Warning: array_unique(): The argument should be an array in taxonomy_access.module on line 444

Warning: array_diff(): Argument #1 is not an array in taxonomy_access.module on line 449

Warning: Invalid argument supplied for foreach() in modules/taxonomy_access.module on line 452

Fatal error: Column count doesn't match value count at row 1 query: INSERT INTO term_access VALUES (0, 1, 1, 0, 0) in database.mysql.inc on line 125

the respective lines causing error were,

$old_rids = array_unique($old_rids); line no: 444
$delete_rids = array_diff($old_rids, $current_rids); line no: 449
foreach($delete_rids as $rid) { line no: 452
$terms = array(); line no: 125

Comments

pyromanfo’s picture

Should be fixed in CVS

Anonymous’s picture