I just wanted to post this, maybe already known. I was using the patched .module version for use with views (// $Id: relativity.module,v 1.36.2.1.x 2007-03-25 11:15:32 Omar Exp $). Trying to help test. I had a setup like 1 parent node 5 sub section nodes. I made a view to show the 1st sub section upon submitting, chose this view for my display option. The other 4 were set to hide. It worked but got this error:

* warning: Invalid argument supplied for foreach() in C:\Inetpub\wwwroot\drupal\modules\node\node.module on line 504.
* warning: implode() [function.implode]: Bad arguments. in C:\Inetpub\wwwroot\drupal\modules\node\node.module on line 508.
* 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 C:\Inetpub\wwwroot\drupal\includes\database.mysql.inc on line 172.

Comments

owahab’s picture

Shouldn't that go there: http://drupal.org/node/130870

darius’s picture

Status: Active » Fixed

This was fixed in latest 5.x-2.x-dev.

owahab’s picture

Status: Fixed » Closed (fixed)