An error occurred while the panel was running!
json.decoder.JSONDecodeError: Expecting value: line 1 column 450 (char 449)
REQUEST_DATE: 2022-08-22 03:25:52
PAN_VERSION: 6.8.26
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 212.154.57.157
REQUEST_URI: POST /site?action=DeleteSite
REQUEST_FORM: {'id': '15', 'webname': 'server.kahyam.com', 'ftp': '1', 'database': '1', 'path': '1'}
USER_AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 1688, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/init.py", line 1636, in run
result = getattr(toObject,get.action)(get)
File "class/panelSite.py", line 831, in DeleteSite
redirectconf = self.read_config(redirectfile)
File "class/panelSite.py", line 3347, in read_config
return json.loads(upBody)
File "/www/server/panel/pyenv/lib/python3.7/json/init__.py", line 348, in loads
return default_decoder.decode(s)
File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=w(s, 0).end())
File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 450 (char 449)