Closed (duplicate)
Project:
Blog reactions
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2008 at 20:54 UTC
Updated:
28 Dec 2008 at 15:09 UTC
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:
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 106
syslog() expects parameter 1 to be long, string given in /drupal-6.6/modules/syslog/syslog.module on line 79.
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.