Closed (fixed)
Project:
Vocabulary Permissions
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2007 at 19:51 UTC
Updated:
9 Jul 2010 at 13:28 UTC
Passed variable is not an array or object in /modules/vocabperms/vocabperms.module on line 167.
Installed, selected so only admin can edit a particular vocab. When trying to submit node form with a regular account ( view only), this error appears. Any ideas?
Comments
Comment #1
douggreen commentedLooking at the code, $elem['#options'] should be an array. I just added support for free tagging vocabularies, and I'm wondering if this is the options array that isn't an array, is for a free tagging vocabulary. Please confirm that the problem is with a free tagging vocabulary. If it is, I've got an easy fix.
Comment #2
chadchandler commentedHey Doug,
Sorry to report this is not for a Free-Tagging vocabulary. The module does as it's supposed to and removes the vocab from the user roles who are not approved to edit, it just gives errors at the top of the page.
Comment #3
liquidcms commentedAre you using tax super select - this sounds like: http://drupal.org/node/154288
Comment #4
douggreen commentedI just committed a patch for #154288. Please re-test and see if that change also fixed this issue. Thanks!
Comment #5
jcisio commentedComment #6
jcisio commented