I get the following warning messages when I add a tag using the taxonomy_user module:
* warning: Illegal offset type in isset or empty in C:\Program Files\xampp\htdocs\modules\taxonomy\taxonomy.module on line 1150.
* warning: Illegal offset type in C:\Program Files\xampp\htdocs\modules\taxonomy\taxonomy.module on line 1151.
* warning: Illegal offset type in C:\Program Files\xampp\htdocs\modules\taxonomy\taxonomy.module on line 1154.
* : Object of class stdClass could not be converted to string in C:\Program Files\xampp\htdocs\modules\pathauto\pathauto_node.inc on line 221.
* warning: Illegal offset type in isset or empty in C:\Program Files\xampp\htdocs\modules\taxonomy\taxonomy.module on line 1150.
* warning: Illegal offset type in C:\Program Files\xampp\htdocs\modules\taxonomy\taxonomy.module on line 1151.
* warning: Illegal offset type in C:\Program Files\xampp\htdocs\modules\taxonomy\taxonomy.module on line 1154.
It looks like there is something wrong with $tid. When I get this error, $tid is an object and not the expected number/string.
Comments
Comment #1
bjvetter commentedA tad more detail. Pathauto_node's node_get_placeholders() function is calling taxonomy_get_term() to get the term object from the database using its tid. It gets the term_id by walking through the list of term names from the tags in $node->taxonomy.
I'm not sure, but I think the problem is in pathauto - it seems to be treating a term object as an id for a different taxonomy (non-freetagging).
Comment #2
bjvetter commentedYes, it is a pathauto problem. Here is their issue (with a patch buried in it). http://drupal.org/node/123001