When I enable this module I get tons of error messages in my log file. Note that one is similar to the one mentioned in #310487: Invalid parameters for watchdog(), except in the log file it is not shown as coming from blog_reactions, but rather from cron or dblog:
- First, I get a php error from blog_reactions (the red (X)), without any further details.
- Then, errors from cron:
strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in /drupal-6.6/modules/syslog/syslog.module on line 106syslog() expects parameter 1 to be long, string given in /drupal-6.6/modules/syslog/syslog.module on line 79. - Then errors similar to the ones mentioned in #310487: Invalid parameters for watchdog()
Invalid argument supplied for foreach() in /drupal-6.6/includes/common.inc on line 789.strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in /drupal-6.6/includes/common.inc on line 806.
When I disable blog_reactions, these messages disappear.
This is on Drupal-6.6 and PHP 5.2.4.
Any ideas?
r.
Comments
Comment #1
dave reidThis is a duplicate of #310487: Invalid parameters for watchdog() because the root problem is the same, the call to watchdog().
Comment #2
rene_w commentedThanks, editing the call to watchdog as in #310487: Invalid parameters for watchdog() fixed the problem.