Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have an intermittent problem when attempting to view the watchdog log. Almost immediately after selecting it on the admin menu I get a message saying "The website encountered an unexpected error. Please try again later." Sometimes I can view the first page of entries, but if I try to go to the next page I get the same error.
The error reported in the log is:
Location: http://www.e-kehila.org/admin/reports/dblog
Recoverable fatal error: Argument 2 passed to t() must be of the type array, integer given, called in /home/e-kehila/public_html/modules/dblog/dblog.admin.inc on line 295 and defined in t() (line 1463 of /home/e-kehila/public_html/includes/bootstrap.inc).
I cannot figure out why this occurs or the circumstances that make it happen at some times but not others.
Comments
Comment #2
Vinay15Hi there,
It doesn't seem to be a core issue. Some custom module written by you is causing the error, as I have checked this on fresh drupal 7 instance (7.43) and it works fine.
Comment #3
rsbecker CreditAttribution: rsbecker commentedI finally found an error message in the log.