Closed (fixed)
Project:
NodeReferrer
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Jan 2007 at 13:22 UTC
Updated:
3 Oct 2007 at 22:21 UTC
Jump to comment: Most recent file
when I do a node_view on a cck node, I get an error about not beng able to use an object as an array. The attached patch fixes this.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | nodereferrer.patch | 702 bytes | killes@www.drop.org |
| content_1.patch | 741 bytes | killes@www.drop.org |
Comments
Comment #1
yched commentedKilles, this part of the code has changed a bit (see http://drupal.org/node/111862#comment-183666).
It probably does not fix the error you mention, yet this could use a check :-)
Besides, if the error is still here, we might want to understand why $item is not an array (it should be) - could you dpr() it ?
Comment #2
killes@www.drop.org commentedthe problem still exists. I think it might be related to the nodereferrer.module.
dprint_r($node->$field['field_name']); gives me an array of node objects.
Comment #3
killes@www.drop.org commentedmoving to nodereferrer, new patch attached. db_fetch_array avoids the problem.
Comment #4
dopry commentedtnx, committed with #139293 v1.5.
Comment #5
(not verified) commented