Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294882

TypeError: Argument 2 passed to t() must be of the type array, integer given.

$
0
0

When I try to access the dblog I see following error:

TypeError: Argument 2 passed to t() must be of the type array, integer given, called in /var/www/xxx/docroot/modules/dblog/dblog.admin.inc on line 295 in t() (line 1735 of /var/www/xxx/docroot/includes/bootstrap.inc).

The proposed solution is:
dblog.admin.inc on line 295 Change:
$output = t($event->message, unserialize($event->variables)); => $output = t($event->message, [unserialize($event->variables)]);


Viewing all articles
Browse latest Browse all 294882

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>