宝塔用户_eyifln 发表于 2025-11-24 11:59:14

【已解答】最新安装的面板,在php8.3.27管理中,安装扩展...

最新安装的面板,在php8.3.27管理中,点安装扩展,右边的安装列表为空,点击获取最新扩展列表时,提示出错
TypeError: the JSON object must be str, bytes or bytearray, not bool

EQUEST_DATE: 2025-11-24 11:58:00
VERSION: KylinAdvanced Server V10 SP3 2403 x86_64(Py3.7.16) - 11.3.0
REMOTE_ADDR: 192.168.119.2
REQUEST_URI: POST /plugin?action=RegetCloudPHPExt
REQUEST_FORM: {}




Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2559, in publicObject
    res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2506, in run
    result = getattr(toObject, get.action)(get)
File "/www/server/panel/class/panelPlugin.py", line 3732, in RegetCloudPHPExt
    data = json.loads(tstr)
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

阿珂 发表于 2025-11-24 16:58:28

修复面板并更新至最新版
检查一下服务器的网络
以及可以检查一下这个文件/www/server/panel/data/phplib.json
页: [1]
查看完整版本: 【已解答】最新安装的面板,在php8.3.27管理中,安装扩展...