From ed719e13c71adbac9df3aaf09fdfe8a1b3b49cba Mon Sep 17 00:00:00 2001 From: odain Date: Fri, 2 Jul 2021 08:53:58 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B04125=20-=20Add=20a=20warning=20log=20whe?= =?UTF-8?q?n=20corrupted=20data=20returned=20by=20APCu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/dict.class.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/dict.class.inc.php b/core/dict.class.inc.php index df644ce84..909213096 100644 --- a/core/dict.class.inc.php +++ b/core/dict.class.inc.php @@ -273,6 +273,7 @@ class Dict self::$m_aData[$sLangCode] = self::GetApcService()->apc_fetch(self::$m_sApplicationPrefix.'-dict-'.$sLangCode); if (! is_array(self::$m_aData[$sLangCode])) { + IssueLog::Warning("APCu corrupted data (with $sLangCode dictionnary). APCu configuration and running version should be troubleshooted..."); unset(self::$m_aData[$sLangCode]); } else