Closed (fixed)
Project:
Spam
Version:
5.x-3.x-dev
Component:
Custom Filters
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Oct 2008 at 09:11 UTC
Updated:
27 Dec 2010 at 14:28 UTC
on the page admin > content > spam I get this error message:
* warning: Missing argument 1 for custom_spam_operations() in /home/jvblogs/public_html/sites/all/modules/spam/filters/custom/custom.module on line 441.
* warning: Missing argument 2 for custom_spam_operations() in /home/jvblogs/public_html/sites/all/modules/spam/filters/custom/custom.module on line 441.I only have 1 active custom filter: setting everything with "viagra" in it to spam...
(This is just after upgrading to 3.0-beta1 from 1.1-2)
Comments
Comment #1
jeremy commentedConfirmed. From a quick glance, it seems I re-used the same hook name in multiple places, with two different intentions.
Comment #2
jeremy commentedFix committed to development branch. Thanks for reporting the bug!
Comment #3
jnvsor commentedAlso, a little note, I get a php error from the spam_custom table...
Message
Unknown column 'extra' in 'field list' query: SELECT cid, filter, style, status, scan, extra FROM spam_custom WHERE status != 0 ORDER BY weight ASC in /home/jvblogs/public_html/includes/database.mysql.inc on line 174.
Severity
error
Comment #4
jeremy commentedThis also has been fixed.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
khanshakeeb commentedhi,
i want show only error which is generated by users.I dont want to show users system error or warning any solution for that so let me know
Comment #7
druojajay commentedHi,
I tried with 5.x-3.0-beta, and then updated to the latest dev.
Same issue.
I uninstalled and reinstalled, too.
Comment #8
gnassar commentedWhen you updated to the latest dev, did you make sure to delete the old spam module files first?
Comment #9
gnassar commentedGuessing that fixed the problem. Re-marking as closed.