Taxonomy access on drup 5.7, and TA 5.2 when I clicked on Categories to create categories I get the following..

Fatal error: Cannot redeclare _user_roles() (previously declared in /home/content/g/i/g/gigslist/html/gigslist/modules/og_roles/og_roles.module:199) in /home/content/g/i/g/gigslist/html/gigslist/modules/taxonomy_access/taxonomy_access_admin.inc on line 12

Name of site is gigslist

I searched through drupal forums and stuff then found the info to disable and uninstall TA which allowed me back in to Categories, but how do I fix the conflicts to enable and use Taxonomy Access?

I hope this is right place, Bug report seemed most appropriate.

Thanks

D

CommentFileSizeAuthor
#2 taxonomy_access-256669-2.patch1.36 KBxjm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm’s picture

Version: 5.x-2.x-dev » 6.x-1.x-dev

This is still an issue in the 6.x branch. The function should be named _taxonomy_access_user_roles() for namespace reasons. (Of course, it sounds like OG has or had the same problem.)

xjm’s picture

Status: Active » Needs review
FileSize
1.36 KB

This patch renames the function appropriately.

xjm’s picture

Tested & works fine.

xjm’s picture

Status: Needs review » Fixed

Committed to 6.x-1.x-dev and 5.x-2.x-dev.

Status: Fixed » Closed (fixed)

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