Hi, I have updated the panel to the latest version and error appeared in WAF at the websites tab.
REQUEST_DATE: 2025-03-30 21:15:09
PAN_VERSION: 7.0.17
OS_VERSION: Ubuntu 24.04.1 LTS x86_64(Py3.12.3)
REMOTE_ADDR: 147.161.27.113
REQUEST_URI: POST /v2/btwaf/get_site_config3.json%3F
REQUEST_FORM: {'p': '1', 'limit': '100', 'search': ''}
USER_AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 5392, in panel_other_v2
raise public.PanelError(data['msg'])
public.exceptions.PanelError: An error occurred while the panel was running: Traceback (most recent call last):
File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 5855, in get_site_config3
File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 5221, in __check_site
File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 5386, in __remove_log_file
File "/www/server/panel/pyenv/lib/python3.12/json/__init__.py", line 339, 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
No idea how to fix this, I did not intervene with the code of WAF or something and I update everytime there is an update, therefore the previous version of my panel was the version before the current version (7.0.17
)
Any ideas?
Thanks for any help.