i have an error on my webpanel when i logging in on my acc can you help me to fix it
An error occurred while the panel was running!
TypeError: can only concatenate str (not "NoneType") to str
REQUEST_DATE: 2024-11-08 12:47:53
VERSION: Ubuntu 22.04.4 LTS x86_64(Py3.12.3) - 7.0.9
REMOTE_ADDR: 112.198.204.125
REQUEST_URI: GET /?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.12/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 550, in index_new
data['lan'] = public.GetLan('index')
^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 632, in GetLan
_LAN_TEMPLATE = json.loads(ReadFile('BTPanel/static/language/' + GetLanguage() + '/template.json'))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can only concatenate str (not "NoneType") to str