share 发表于 2022-3-3 08:29:21

【已完成】AttributeError: 'list' object has no attribute 'replace'

宝塔升级到7.9.0后软件商店里一键部署出错,不能一键部署,提示错误代码如下,麻烦大佬解决一下Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 1762, in publicObject    result = Response('', 401, {'WWW-Authenticate': 'Basic realm="%s"' % request_host.strip()})File "/www/server/panel/BTPanel/__init__.py", line 1710, in run    34, 98, 116, 46, 115, 111, 102, 116, 46, 117, 112, 100, 97, 116, 97, 95,File "class/panelSite.py", line 502, in AddSite    self.phpVersion   = get.version.replace(' ','')AttributeError: 'list' object has no attribute 'replace'

谢花郎 发表于 2022-3-3 10:56:35

您好,修复一下面板,该问题已经修复了。
页: [1]
查看完整版本: 【已完成】AttributeError: 'list' object has no attribute 'replace'