|
发表于 2022-11-29 15:53:23
|
显示全部楼层
出错了,面板运行时发生错误!
TypeError: expected string or bytes-like object
REQUEST_DATE: 2022-11-29 01:53:26
PAN_VERSION: 7.9.6
OS_VERSION: Ubuntu 20.04.5 LTS x86_64(Py3.7.9)
REMOTE_ADDR: 221.234.197.184
REQUEST_URI: POST /plugin?action=get_soft_find
REQUEST_FORM: {'sName': 'phpmyadmin'}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1836, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1788, in run
result = getattr(toObject,get.action)(get)
File "class/panelPlugin.py", line 1646, in get_soft_find
softInfo['ext'] = self.getPHPMyAdminStatus()
File "class/panelPlugin.py", line 2430, in getPHPMyAdminStatus
result = self._get_ols_myphpadmin_info()
File "class/panelPlugin.py", line 2459, in _get_ols_myphpadmin_info
php_v = re.search(reg,conf)
File "/www/server/panel/pyenv/lib/python3.7/re.py", line 185, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object |
|