After some serious hair loss, I finally found that the cause of my error is coming from this module. Which is critical for my application since I depend heavily on this. I have four CCK content types involved in a relationship:

  • Order (Parent)
    • InventoryItem
    • Artwork
    • ShippingAddress
  • This might be a conflict with another module, although I have rolled nearly everything back. The error that appears on the interface after submission of a new Order post is as follows:

    warning: Invalid argument supplied for foreach() in E:\wamp\www\mytman\modules\node\node.module on line 531.
    warning: implode() [function.implode]: Invalid arguments passed in E:\wamp\www\mytman\modules\node\node.module on line 535.
    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 E:\wamp\www\mytman\includes\database.mysql.inc on line 172.

    I have taken the time also to create a debug_backtrace before the offending line. I have attached that in a RTF file here on this post since it is fairly long.

    Thank you.

CommentFileSizeAuthor
stack-output.txt46.1 KBwebkenny

Comments

webkenny’s picture

As a side note, for some unknown reason, simply replacing the release with the Dev branch works a treat. (Which I couldn't be happier about) - If that helps you locate the cause at all.

darius’s picture

Status: Active » Closed (duplicate)

Duplicate of http://drupal.org/node/179745, fixed in the dev version (which will be tagged 5.x-2.4 soon).

webkenny’s picture

Sorry for the dupe. Thanks guys.