in prestashop version 1.6.x,when the admin translate key exit and the key value is empty,PrestaShopLogger::addLog return error,This will likely lead to the failure of the background management login.
information: [PrestaShopException]Property PrestaShopLogger->message is empty at line 909 in file classes/ObjectModel.php
904. } 905. 906. $message = $this->validateField($field, $this->$field); 907. if ($message !== true) { 908. if ($die) { 909. throw new PrestaShopException($message); 910. } 911. return $error_return ? $message : false; 912. } 913. } 914.
ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php]
ObjectModelCore->getFields - [line 487 - classes/ObjectModel.php]
ObjectModelCore->add - [line 133 - classes/PrestaShopLogger.php]
PrestaShopLoggerCore::addLog - [line 196 - controllers/admin/AdminLoginController.php] - [7 Arguments]
AdminLoginControllerCore->processLogin - [line 161 - controllers/admin/AdminLoginController.php]
AdminLoginControllerCore->postProcess - [line 178 - classes/controller/Controller.php]
ControllerCore->run - [line 367 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 47 - master/ajax-tab.php]
now,fixed the bug for Translate.php,line 72
if (isset($_LANGADM[$class.$key])) to
if (isset($_LANGADM[$class.$key]) && !empty($_LANGADM[$class.$key]))