出错了,面板运行时发生错误!
TypeError: the JSON object must be str, bytes or bytearray, not bool
REQUEST_DATE: 2022-12-04 13:57:40
PAN_VERSION: 7.9.5
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 120.242.222.234
REQUEST_URI: POST /auth?action=create_plugin_other_order
REQUEST_FORM: {'pid': '600801528', 'cycle': '1', 'type': '0'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 Edg/106.0.1370.52
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1833, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1785, in run
result = getattr(toObject,get.action)(get)
File "class/panelAuth.py", line 86, in create_plugin_other_order
return json.loads(public.httpPost(p_url,pdata))
File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 341, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not bool |