Posted by glennnz on October 7, 2009 at 7:49pm
Jump to:
| Project: | UC Node Access |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
Hi
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.I'm not sure if the error is coming from this module, or the Content Access or ACL module.
Thanks
Glenn
Comments
#1
@glennnz
Can you give any more details on your setup with this? Such as what versions of the other modules you were using, and what your uc_node_access settings you had on the product were? I'd like to try and reproduce this, but would like to have a head start if I have difficulties reproducing.
Thanks, Jeremy
#2