
In order to find solution for #1650868 I poked around module settings and found issue after clearing /admin/reports/download-count by clicking on "Reset all" link.
First, error appears directly on /admin/reports/download-count page :
Unable to reset all download counts.
warning: strtr(): The second argument is not an array in syslog_watchdog() (line 114 of /modules/syslog/syslog.module)
but table was cleared ( http://i.imgur.com/Ckcgf.png )
Immediately after that I went to Watchdog in order to check logs, but following error was received:
Recoverable fatal error: Argument 2 passed to t() must be an array, integer given, called in /srv/www/xxxxxxxxxx/public_html/modules/dblog/dblog.admin.inc on line 265 and defined in t() (line 1478 of /includes/bootstrap.inc).
The website encountered an unexpected error. Please try again later.
I found possible related issue http://drupal.org/node/1396368 and quite old, but similar one here: http://drupal.org/node/490434
Clearing Watchdog table resolved an issue, but question still renames. I'll try to reproduce issue again.
Comments
Comment #1
WorldFallz CreditAttribution: WorldFallz commentedTurns out this was probably due to incorrect # of arguments for a couple of watchdog calls. Fixed and committed to both 6.x-2.x and 7.x-3.x branches. Thanks for reporting.
Comment #2
yurg CreditAttribution: yurg commentedComment #2.0
yurg CreditAttribution: yurg commentedfix typo.
Comment #3
b3nji CreditAttribution: b3nji commented