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

jeremy’s picture

Assigned: Unassigned » jeremy

Confirmed. From a quick glance, it seems I re-used the same hook name in multiple places, with two different intentions.

jeremy’s picture

Status: Active » Fixed

Fix committed to development branch. Thanks for reporting the bug!

jnvsor’s picture

Also, 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

jeremy’s picture

This also has been fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

khanshakeeb’s picture

Title: Error concerning custom filters in admin/content/spam » Error concerning

hi,
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

druojajay’s picture

Version: 5.x-3.0-beta1 » 5.x-3.x-dev
Status: Closed (fixed) » Active
    * warning: Missing argument 1 for custom_spam_operations() in /home/main/drupal/sites/habsinsideout.com/modules/spam/filters/custom/custom.module on line 441.
    * warning: Missing argument 2 for custom_spam_operations() in /home/main/drupal/sites/habsinsideout.com/modules/spam/filters/custom/custom.module on line 441.

Hi,

I tried with 5.x-3.0-beta, and then updated to the latest dev.

Same issue.

I uninstalled and reinstalled, too.

gnassar’s picture

When you updated to the latest dev, did you make sure to delete the old spam module files first?

gnassar’s picture

Status: Active » Closed (fixed)

Guessing that fixed the problem. Re-marking as closed.