Using CS .0.8.0.3 and got these errors today from a new member.

Since CS is using Drupal 4.5 will updating the spam module to the current 4.6 release break everything or is there a way to fix these errors other ways?

I searched the site for the errors but there were no returns for the spam module.

Type	error
Date	Wednesday, April 27, 2005 - 1:36pm
Location	/user/7/edit
Message	warning: arsort() expects parameter 1 to be array, null given in /home/httpd/vhosts/domainname.com/httpdocs/modules/spam.module on line 1184.

Type	error
Date	Wednesday, April 27, 2005 - 1:36pm
Location	/user/7/edit
Message	warning: array_keys(): The first argument should be an array in /home/httpd/vhosts/domainname.com/httpdocs/modules/spam.module on line 1185.

Type	error
Date	Wednesday, April 27, 2005 - 1:36pm
Location	/user/7/edit
Message	warning: array_shift(): The argument should be an array in /home/httpd/vhosts/domainname.com/httpdocs/modules/spam.module on line 1190.

Type	error
Date	Wednesday, April 27, 2005 - 1:36pm
Location	/user/7/edit
Message	warning: Division by zero in /home/httpd/vhosts/domainname.com/httpdocs/modules/spam.module on line 1201.

Comments

jeremy’s picture

Status: Active » Fixed

The rewritten spam module works with both Drupal 4.5 and Drupal 4.6.

osherl’s picture

Anonymous’s picture

jeremy’s picture

Status: Fixed » Closed (fixed)

Closing manually. (I think the project module is broken, it keeps marking them updated when they should be closed.)