levelsranks / web-levels_ranks

Adaptive WEB Interface for Levels Ranks statistics plugin
GNU General Public License v3.0
140 stars 100 forks source link

Error after clearing module cache #161

Closed Denis-Raev closed 2 years ago

Denis-Raev commented 2 years ago

Everything worked fine. After clearing the module cache from under the web admin panel, I get the following in the logs: LINE - 71 2022-09-04 20:03:00 - NEW ERROR [1] FILE - /home/admin/web/web.ru/public_html/app/ext/Translate.php MESSAGE - Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /home/admin/web/web.ru/public_html/app/ext/Translate.php:71 Stack trace:

0 /home/admin/web/web.ru/public_html/app/ext/Translate.php(71): array_key_exists()

1 /home/admin/web/web.ru/public_html/app/ext/Translate.php(44): app\ext\Translate->create_translator_cache()

2 /home/admin/web/web.ru/public_html/index.php(136): app\ext\Translate->__construct()

3 {main}

thrown LINE - 71

On the site respectively: Exception script, check web server logs