Closed (won't fix)
Project:
Content Access
Version:
5.x-1.5
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2009 at 23:16 UTC
Updated:
5 Jul 2011 at 07:11 UTC
Hi
I'm using this in conjunction with UC Node Access, I've posed this issue there too because I'm not sure what's causing it.
I am getting the following errors when a payment is entered for an order, which has a product with UC Node Access.
* warning: Invalid argument supplied for foreach() in \modules\node\node.module on line 561.
* warning: implode() [function.implode]: Invalid arguments passed in \modules\node\node.module on line 565.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in \includes\database.mysql.inc on line 174.
Thanks
Glenn
Comments
Comment #1
fagoThere is alreay some error before:
>* warning: Invalid argument supplied for foreach() in \modules\node\node.module on line 561.
Often such errors occur when invalid node objects are passed around.
Comment #2
good_man commentedClosing it as 5.x is not supported anymore.