Something went wrong, an error occurred while running [Nginx WAF]!
TypeError: the JSON object must be str, bytes or bytearray, not bool
REQUEST_DATE: 2025-11-09 22:25:20
PAN_VERSION: 7.0.27
OS_VERSION: Debian GNU/Linux 12 x86_64(Py3.12.3)
REMOTE_ADDR: 192.168.1.150
REQUEST_URI: POST /v2/btwaf/new_overview.json%3F
REQUEST_FORM: {'start_time': '2025-11-09'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 5618, 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 10200, in new_overview
File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 2695, in get_site_config
File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 5637, in __check_site
File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 5802, 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
Sorry, an unexpected error occurred while accessing the [Nginx WAF] plugin. Please try to resolve this error in the following order:
- Click the Fix button in the upper right corner of [Home], and log out of the panel and log in again.
- If the plugin is not the latest version, try to update to the latest version, if it is the latest version, please try to reinstall the plugin, if it is a beta version, please try to switch to the official version
- If this plug-in is a third-party plug-in, try to contact the author for help
- If the above attempt fails to resolve this error, please take a screenshot of this window and post on the Pagoda Forum for helphttps://www.aapanel.com/forum
Something went wrong, an error occurred while running [Nginx WAF]!
TypeError: the JSON object must be str, bytes or bytearray, not bool
REQUEST_DATE: 2025-11-09 22:25:24
PAN_VERSION: 7.0.27
OS_VERSION: Debian GNU/Linux 12 x86_64(Py3.12.3)
REMOTE_ADDR: 192.168.1.150
REQUEST_URI: POST /v2/btwaf/new_overview.json%3F
REQUEST_FORM: {'start_time': '2025-11-09'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 5618, 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 10200, in new_overview
File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 2695, in get_site_config
File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 5637, in __check_site
File "/www/server/panel/plugin/btwaf/btwaf_main.py", line 5802, 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
I'm press the Fix Button. But error contuniue!