Just installed the module. Received these errors on my front page:

* warning: usort() [function.usort]: The argument should be an array in /home/ncompass/public_html/systems/drupal/modules/taxonomy_hide/taxonomy_hide.module on line 110.

* warning: Invalid argument supplied for foreach() in /home/ncompass/public_html/systems/drupal/modules/taxonomy/taxonomy.module on line 32.

Comments

jiangxijay’s picture

Only happens with "Group by vocabulary" checked.

jiangxijay’s picture

Just realized I was using a 5.1 Drupal. Upgraded to 5.2 and problem disappeared.

Perhaps this will help others with a similar problem.

Anonymous’s picture

Problem is still there with 5.3.
It only shows when previewing a node.

Anonymous’s picture

Quick fix:
Change line 108 to:

if (variable_get('taxonomy_hide_group_by_vocabulary', 0) and count($node->taxonomy) > 0) {

Joep

brmassa’s picture

Status: Active » Fixed

Guys,

i just fixed on Drupal 6 version.

regards,

massa

brmassa’s picture

Assigned: Unassigned » brmassa
Status: Fixed » Reviewed & tested by the community

Guys,

just a udpate: i still dont have CVS access, so its not yet possible to commit this bug fix.

regards,

massa

brmassa’s picture

Status: Reviewed & tested by the community » Fixed

Guys,

im the new maintainer. its fixed for D6

regards,

massa

Anonymous’s picture

Status: Fixed » Closed (fixed)

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