Error messages in log when enabling Blog_reactions

rene_w - December 19, 2008 - 20:54
Project:Blog reactions
Version:6.x-1.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

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 106

    syslog() 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.

#1

Dave Reid - December 28, 2008 - 01:56
Status:active» duplicate

This is a duplicate of #310487: Invalid parameters for watchdog() because the root problem is the same, the call to watchdog().

#2

rene_w - December 28, 2008 - 15:09

Thanks, editing the call to watchdog as in #310487: Invalid parameters for watchdog() fixed the problem.

 
 

Drupal is a registered trademark of Dries Buytaert.