为了能快速了解并处理您的问题,请提供以下基础信息:
原来是7.9.10,修复后自动升级到8.0.4
centos7.6
突然无法打不开面板登录页,ssh重载宝塔服务后,能登录,但是报错,刷新页面后又无法打开面板了。
相关截图(日志、错误):出错了,面板运行时发生错误!TypeError: '>=' not supported between instances of 'NoneType' and 'int'
REQUEST_DATE: 2023-12-06 17:37:42 PAN_VERSION: 8.0.4 OS_VERSION: CentOS 7.6.1810 x86_64(Py3.7.9) REMOTE_ADDR: 54.169.240.117 REQUEST_URI: POST /ajax?action=get_pay_typeREQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) 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 2104, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2051, in run result = getattr(toObject, get.action)(get) File "class/ajax.py", line 1850, in get_pay_type if item['type'] == 0 and plugin_list['pro'] >= 0:TypeError: '>=' not supported between instances of 'NoneType' and 'int'
|
|