Closed (duplicate)
Project:
Pathauto
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2006 at 21:15 UTC
Updated:
8 Dec 2006 at 21:29 UTC
Hello,
I'm having a strange behaviour tonight.
I upgraded a drupal test site from 5.b1 to 5.b2 and began to create categories, as I haven't done it yet.
The vocable creation works ok, but the categories send back that warning :
* warning: Illegal offset type in modules/taxonomy/taxonomy.module on line 1088.
* warning: Illegal offset type in modules/taxonomy/taxonomy.module on line 1089.
* warning: Illegal offset type in modules/taxonomy/taxonomy.module on line 1092.
No other message in the logs.
The categories are created anyway and the creation of nodes using those warned categories are normal.
Did I have done something wrong ?
Comments
Comment #1
sKanD commentedI forgot to give essential précisions.
When I create a parent term under a vocable, I do have the warning.
BUT, if I create a child of a term, I don't have any warning. Moreover it breaks the devel module...
Comment #2
eaton commentedI can confirm this is the case. Somewhere during the save process, we're calling taxonomy_get_term() and passing in an array rather than an ID. Gotta track down the details.
Comment #3
gregglesI bet that this is in Pathauto - see http://drupal.org/node/92900 If you disable pathauto does the issue go away?
There are patches in that queue which "fix" this but I'm not fans of them. I'm looking into/fixing it now so we don't get more of these issues polluting the Core issue queue.