My site is running on drupal 6.2, and comment subscribe 6.x-1.0. My setting is user subscribe to all replies to the node, not just the users comment.
I got this warning message when trying to post to a threaded comments (replying to a comment)
warning: strtr() [function.strtr]: The second argument is not an array. in -snip-/public_html/blog/modules/syslog/syslog.module on line 108.
warning: syslog() expects parameter 1 to be long, string given in -snip-/public_html/blog/modules/syslog/syslog.module on line 81.
However, e-mails have been sent to users that subscribe to the node.
The error won't show if the syslog module is disabled.
For your information, I enabled re-captcha module for anonymous user to post comments, but I don't think the error got to do with re-captcha module.
Hope thats help. Thank you.
Comments
Comment #1
quasi-hayley@groups.drupal.org commentedSame here, although I don't have re-captcha running.
I'm running Comment Subscribe with Advanced Forum and the core forum. When submitting a comment, it gives this error:
* warning: strtr() [function.strtr]: The second argument is not an array. in /home/sites/quasi-evil.net/public_html/kaeree/modules/syslog/syslog.module on line 108.
* warning: syslog() expects parameter 1 to be long, string given in /home/sites/quasi-evil.net/public_html/kaeree/modules/syslog/syslog.module on line 81.
There is also a line that says:
Thanks for your comment! I just sent out 1 follow-up mail notifications!
If that line says '2 follow-up's then the error shows up twice.
Comment #2
dave reidSounds like a duplicate of #240167: Incorrect watchdog call since the second parameter of watchdog is supposed to be an array and up until now, it was not.