When I submit comment I receive such notices

Notice: Undefined index: ru in the function antispam_node_validate() (row 891 in the /home/sites/all/modules/antispam/antispam.module).
Notice: Undefined index: ru in the function antispam_node_validate() (row 892 in the /home/sites/all/modules/antispam/antispam.module).

"ru" is the language prefix as I understand.

CommentFileSizeAuthor
#8 1188908-8.patch636 bytesjody lynn

Comments

aamato’s picture

Version: 7.x-1.x-dev » 7.x-1.1

I have the same problem here:
Notice: Undefined index: pt-br em antispam_node_validate() (linha 892 de /home/curso/public_html/sites/all/modules/antispam/antispam.module).
Notice: Undefined index: pt-br em antispam_node_validate() (linha 893 de /home/curso/public_html/sites/all/modules/antispam/antispam.module).

naoliva’s picture

Version: 7.x-1.1 » 7.x-1.4

Same issue as #1... following.

Azrael256’s picture

Same thing with language fr.

deajan’s picture

Version: 7.x-1.4 » 7.x-1.5

Same as #1 with french language. Still happening on 7.x-1.5

Notice : Undefined index: fr dans antispam_node_validate() (ligne 891 dans /srv/data/web/vhosts/www.mysite.tld/htdocs/sites/all/modules/antispam/antispam.module).
Notice : Undefined index: fr dans antispam_node_validate() (ligne 892 dans /srv/data/web/vhosts/www.mysite.tld/htdocs/sites/all/modules/antispam/antispam.module).

manuscle’s picture

Same as #4 ...

t_i_b_o’s picture

Same as #4

fred0’s picture

I am getting this with 'en'

Hope it's fixed soon, I depend on this module to keep the spammers at bay.

jody lynn’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new636 bytes

Please test the following patch.

thedosmann’s picture

I'm using 7.15 -not the dev
The program has been blocking spam but not putting into a queue, just not publishing. The content being not published, so far, has been spam but it bothers me its not putting into the queue. So I started troubleshooting and noticed this error:

Notice: Undefined index: en in antispam_node_validate() (line 891 of /home/site/public_html/sites/all/modules/antispam/antispam.module).

Do not know if it is related but it is a place to start. I applied the above patch and will monitor and report if it made any difference.

After adding above patch the error went away. I still have the issue with it not putting content in spam queue. Will open another issue on that.

jbeckers’s picture

seems to work for me

yingtho’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Verified that it works.