I recently upgraded my D7 install to 7.44. It's a multisite install and the default site logs seem to be working fine but when I visit admin/reports/dblog on the second site, it throws this error and won't show the logs:

Recoverable fatal error: Argument 2 passed to t() must be of the type array, integer given, called in /var/www/drupal/modules/dblog/dblog.admin.inc on line 295 and defined in t() (line 1463 of /var/www/drupal/includes/bootstrap.inc).

I have searched the issues and the forum and don't see anyone talking about this issue. Any clues would be appreciated.

Comments

Sam Moore’s picture

Don't forget to run update.php.
You have to do it separately for each site in a multi-site setup, because each site has its own database.

laurajeans’s picture

I ran the update using drush pm-update drupal https://www.drupal.org/node/2550801. So I don't think I need to run update.php?

Version looks correct but I tried running update.php anyway- no updates found, still get the same error and no logs.

laurajeans’s picture

Did these three things - not sure which worked:

  1. Followed Sam's advice, ran update.php - didn't find any updates. Error persisted
  2. Ran cron job manually
  3. Cleared all caches - drush cc all

Now it works.

Thanks!