From b3e314769784562906e0800d02b9d05037d4583a Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 22 Sep 2018 07:09:27 +0000 Subject: [PATCH] Issue 5768: This logging should help finding the origin of the problem --- src/Core/L10n.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Core/L10n.php b/src/Core/L10n.php index 8cdd935917..542590646d 100644 --- a/src/Core/L10n.php +++ b/src/Core/L10n.php @@ -183,6 +183,10 @@ class L10n extends BaseObject { $a = self::getApp(); + if (!is_numeric($count)) { + logger('Non numeric count called by ' . System::callstack(20)); + } + $lang = Config::get('system', 'language'); if (!empty($a->strings[$singular])) {