宝塔用户_bcrznf 发表于 2023-10-26 17:04:47

【待反馈】很多页面报错

进网站、数据库、安全、日志等页面报错
出错了,面板运行时发生错误!TypeError: string indices must be integers
REQUEST_DATE: 2023-10-26 17:04:05 PAN_VERSION: 8.0.3OS_VERSION: CentOS7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 221.232.105.173 REQUEST_URI: POST /project/java/get_project_list?REQUEST_FORM: {'data': '{"p":1,"limit":10}'}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.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 "/www/server/panel/class/panelController.py", line 81, in model    result = PluginLoader.module_run(module_name,def_name,pdata)File "/www/server/panel/class/projectModel/javaModel.py", line 2713, in get_project_list    project_config= json.loads(data['data']['project_config'])TypeError: string indices must be integers
[*]很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
[*]修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。
[*]修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs

谢花郎 发表于 2023-10-26 17:28:13

您好,麻烦您到服务器命令行下依次执行下面命令看下,下面命令是查询面板数据库内的表信息:
sqlite3 /www/server/panel/data/default.db
select * from sites;

退出:quit

堡塔运维南一 发表于 2024-3-6 12:01:12

问题解决了吗
页: [1]
查看完整版本: 【待反馈】很多页面报错