Closed (duplicate)
Project:
Node Relativity
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2007 at 16:45 UTC
Updated:
21 Nov 2007 at 20:01 UTC
I started fresh, downloaded the dev version and setup a parent and 1 child. When I went to create the initial parent node it worked, but I got some warnning errors:
* 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.
If I try an update on the parent node, all works fine.
Comments
Comment #1
goose2000 commentedAs a test, I switched the entire relativity directory with the previous version (which had no token support) and the error goes away using the exact same content types and settings.
John A
Comment #2
thekk commentedFor a patch that fixes this, see this bug.