I've got the Spam-2.1.3 module installed in Drupal 4.7 and when attempting to mass delete several spam comments I get the following warnings:
# warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/chicagoc/www/www/includes/database.mysql.inc on line 349.
# user warning: Unknown column 'n.revision_timestamp' in 'where clause' query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.moderate, 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 n.nid = '878' AND n.vid = '910' AND n.type = 'forum' AND n.status = '0' AND n.created = '1156328126' AND n.changed = '1156328126' AND n.comment = '2' AND n.promote = '0' AND n.moderate = '0' AND n.sticky = '0' AND n.revision_timestamp = '1156328126' AND n.title = 'prepared' AND n.body = 'Hello, this site is very nice, i loved it. my sites:\r\n [url=http://phenterminebuy.gjjgt.info/phentermine-medication.html]phentermine medication[/url] [url=http://tramadolbuy.klpll.info/tramadol-sales.html]tr in /home/chicagoc/www/www/includes/database.mysql.inc on line 120.
This looks to be throwing the error on node_load() called in the spam_delete_node() function. That's as far as I got.
Anyone else had this problem? Anyone know of a workaround/bugfix?