Dear ones, I install PHP versions 7.1 and 7.0 with the others (7.2, 7.3, 7.4 and 8.0) but these 7.1 and 7.0 are not able to work correctly.
I open her settings to install extensions or enter the config file and this error is presented to me, could someone help fix it.
I am no longer able to run older versions of PHP like 5.6 but some of my scripts only work on older versions and this is hurting me.
REQUEST_DATE: 2021-11-07 08:24:02
PAN_VERSION: 6.8.15
OS_VERSION: Ubuntu 20.04.3 LTS x86_64(Py3.7.9)
REMOTE_ADDR: 191.45.78.251
REQUEST_URI: POST /config?action=GetPHPConf
REQUEST_FORM: {'version': '71'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 OPR/80.0.4170.63
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1578, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1526, in run
result = getattr(toObject,get.action)(get)
File "class/config.py", line 891, in GetPHPConf
tmp = re.search(rep,phpini)
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

