Closed (won't fix)
Project:
Drupal core
Version:
4.7.0
Component:
taxonomy.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 May 2006 at 19:09 UTC
Updated:
25 May 2006 at 23:43 UTC
On each attempt to reindex site I got number of errors in form "Invalid argument supplied for foreach() in [...]/modules/taxonomy.module on line 1199."
I have set up single dictionary with single hierarchy, multiple select.
Looking at code looks like it is in fucntion "taxonomy_node_update_index" is generating log message
Comments
Comment #1
mgabalins commentedLitlle more exploration shows that $node parameter is not set for call to function taxonomy_node_update_index. Called by taxonomy_nodeapi.
Comment #2
killes@www.drop.org commentedI am rather sure that your assesment is wrong.
see here, line 720 in node.module:
$node->body .= module_invoke('taxonomy', 'nodeapi', $node, 'update index');
Comment #3
mgabalins commentedAssesment was done inserting some watchdog calls to get out put in Log. My current hypothesis (I do not know how grounded) is that there may be some conflict with Organic group permission system (e.g cron is running as anonymous and I do not have any public content). Funny, but call is made correct number of times, just that outpout of $node->nid or $node->title is empty.
Comment #4
mgabalins commentedMY hyphoytesis was right. Once I disabled organic groups access control - everything worked as expected, so I guess I should take this to Organic Groups
Comment #5
pwolanin commentedsee: http://drupal.org/node/65024
When I'm seeing this error message it may be becuase of a problem with the forum module.
Comment #6
mgabalins commentedI found the source of the bug in my case - happened to be db_rewrite done by organic groups. See my post here http://drupal.org/node/64333
Comment #7
killes@www.drop.org commentedComment #8
lambert-1 commentedI have the same bug, but I'm not running OG. Here are the contributed modules I am using:
atom/
porterstemmer/
audio/
spam/
badbehavior/
service_links/
similar/
smartypants/
hof/
glossary/
feedback/
pathauto/