From: Michael Date: Sat, 22 Sep 2018 07:09:27 +0000 (+0000) Subject: Issue 5768: This logging should help finding the origin of the problem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b3e314769784562906e0800d02b9d05037d4583a;p=friendica.git Issue 5768: This logging should help finding the origin of the problem --- 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])) {