On 3 different sites running spam 2.0: If I click on administer-->input types-->configure (on any type) I get this error:
Fatal error: Call to undefined function: spam_publish_list() in /[serverpath]/modules/spam/spam.module on line 1681
In the logs, there are a series of php errors, as follows:
Location /admin/filters/3
Message Missing argument 2 for spam_filter() in /[serverpath]/modules/spam/spam.module on line 52.
Severity errorLocation /admin/filters/3
Message Missing argument 3 for spam_filter() in /[serverpath]/modules/spam/spam.module on line 52.Location /admin/filters/3
Message Missing argument 4 for spam_filter() in /[serverpath]/modules/spam/spam.module on line 52.Location /admin/filters/3
Message asort() expects parameter 1 to be array, null given in /[serverpath]/modules/spam/spam.module on line 744.
Severity errorLocation /admin/filters/3
Message array_keys(): The first argument should be an array in /[serverpath]/modules/spam/spam.module on line 749.
Severity errorLocation /admin/filters/3
Message array_pop(): The argument should be an array in /[serverpath]/modules/spam/spam.module on line 753.
Severity errorLocation /admin/filters/3
Message Division by zero in /[serverpath]/modules/spam/spam.module on line 764.
Severity errorAlso, I'm not sure if this is related, but I've been unable to get new javacripts to function. (Old scripts seem to be continuing to work.) This could be completely unrelated, but I thought I'd mention it as this behavior started appearing around the same time.
Comments
Comment #1
jeremy commentedThe spam_filter() function was being called as a _filter() hook. I have renamed spam_filter() to spam_filter_content(). You can see the diff here. I will release a 2.0.11 that includes this fix in the near future, once I have time to create a patch for the trackback module. I will mark this bug "fixed" once I release 2.0.11.
Comment #2
laura s commentedTried v. 2.0.11-pre and seems to work fine.
Comment #3
jeremy commentedRelease spam module 2.0.11 which includes this fix.
(Note, spam_filter_content() became spam_content_filter() to match existing spam_ip_filter() naming convention.)
Comment #4
(not verified) commentedComment #5
jeremy commentedManually closing, the project module doesn't seem to do this automatically anymore.