安装Nginx免费防火墙的时候提示:[url=]TypeError: the JSON object must be str, bytes or bytearray, not bool[/url]
[url=]点开详情提示:[/url]
[url=]- REQUEST_DATE: 2023-01-18 10:17:06
- PAN_VERSION: 7.9.7
- OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
- REMOTE_ADDR: 104.233.197.74
- REQUEST_URI: POST /auth?action=create_plugin_other_order
- REQUEST_FORM: {'pid': '600801398', 'cycle': '999', 'type': '0'}
- USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
复制代码- Traceback (most recent call last):
- File "/www/server/panel/BTPanel/__init__.py", line 1845, in publicObject
- return run_exec().run(toObject, defs, get)
- File "/www/server/panel/BTPanel/__init__.py", line 1797, 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
复制代码
[/url]
[url=]各位大神有知道这个问题怎么解决的吗?感谢[/url]
|
|