Using FireFox, IE 7 and IE 8, am getting the following error at random intervals after a refresh:
warning: Missing argument 2 for im_send_msg() in /home/wwwaec/public_html/sites/all/modules/im/im.module on line 243
Using FireFox, IE 7 and IE 8, am getting the following error at random intervals after a refresh:
warning: Missing argument 2 for im_send_msg() in /home/wwwaec/public_html/sites/all/modules/im/im.module on line 243
Comments
Comment #1
pahariwalla commentedI have also come across this error, but have not been able to reproduce on command and so was not able to fix it. I'm hoping that someone notices some sort of pattern of when it happens and we can take it from there.
Comment #2
pahariwalla commentedComment #3
bramface commentedI, too, am getting this error. FF. Running "Chat" also (using IM to tell people to check Chat).
When I navigate to another page, I get the errors, one for each line of the IM; and the IM box is emptied. Doesn't matter what page.
Flush the cache, and the errors go away.
So my guess is that the way IM works is to put the IM messages in the cache, and what's broken has to do with the cache being attached to a second argument that is not being passed.
Comment #4
wgbiker commentedThe error occurs when talking to "no one" then jumping to another page and only when I didn't talk to any authented user before. In different words: virgin chat is affected.
Comment #5
wgbiker commentedComment #6
pahariwalla commentedFix commited on June 19, 2009 UTC
Thanks @wgbiker for isolating the condition ...