I've been getting this error:

* warning: Invalid argument supplied for foreach() in /home/suppleme/public_html/modules/node/node.module on line 504.
* warning: implode() [function.implode]: Bad arguments. in /home/suppleme/public_html/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 /home/suppleme/public_html/includes/database.mysql.inc on line 172.

I did some debugging which traced it back to the nodereference module. Turning it off fixes this problem, but as nodereference is an integral part of my site, I cannot turn it off. This problem seemed to happen after installing audio.module. Not even uninstalling and removing all the changes in the DB seemed to fix this problem. Does anyone know what I can do?

Comments

drewish’s picture

Status: Active » Postponed (maintainer needs more info)

are you still experiencing this with current versions of both modules?

drewish’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

i'm assuming this has been taken care of. if not please re-open this issue with more detail.