I'm running a Drupal 5.x site and got error after adding this module:
* warning: Invalid argument supplied for foreach() in /var/www/html/drupal/modules/node/node.module on line 504.
* warning: implode() [function.implode]: Bad arguments. in /var/www/html/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 /var/www/html/drupal/includes/database.mysql.inc on line 172.

Any ideas what went wrong? Thanks!

Comments

baldy’s picture

Status: Active » Fixed

Fixed in latest version.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.