为了能快速了解并处理您的问题,请提供以下基础信息:
面板:8.0.3
插件:Nginx免费防火墙
CentOS 7.9.2009 x86_64(Py3.7.9)
安装Nginx免费防火墙出现错误
出错了,面板运行时发生错误!TypeError: the JSON object must be str, bytes or bytearray, not bool
REQUEST_DATE: 2023-11-24 15:42:39 PAN_VERSION: 8.0.3 OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: REQUEST_URI: POST /auth?action=create_plugin_other_orderREQUEST_FORM: {'pid': '600801398', 'cycle': '999', 'type': '0'} USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2031, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1978, 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- 很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
- 修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。
- 修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
|
|