Hey guys!
I'm experiencing an issue with aaPanel when trying to manage WordPress configurations using the WordPress Toolkit. The panel shows the following error:
An error occurred while the panel was runningļ¼
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
REQUEST_DATE: 2024-12-18 06:25:42
VERSION: Ubuntu 24.04.1 LTS x86_64(Py3.12.3) - 7.0.12
REMOTE_ADDR: 186.6.66.99
REQUEST_URI: POST /v2/site?action=get_wp_configurations
REQUEST_FORM: {'s_id': '1'}
USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2678, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/__init__.py", line 2624, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/panel_site_v2.py", line 7184, in get_wp_configurations
return one_key_wp.one_key_wp().get_wp_configurations(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/one_key_wp_v2.py", line 1321, in get_wp_configurations
wp_toolkit_config_data = wpmgr_obj.get_wp_toolkit_config_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/wp_toolkit/core.py", line 1919, in get_wp_toolkit_config_data
arZDCk94/K/J0iZu4oF+HQPvmFchi9jLMjSbKZBFYZCQWG1zm4V1EmP+YE0wschBqkSv0blhFiFgfaTgPiBLWg==
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Here are some additional details about my setup:
aaPanel Version: 7.0.12
OS: Ubuntu 24.04.1 LTS x86_64
PHP Version: 3.12.3
Openlitespeed Version: 1.8.1
What I Tried: The error appears when I click on "WP Toolkit > mysite.com > WordPress Setting". I'm migrating the websites using the All in One WP Migration plugin. I've verified that this issue only occurs with migrated websites. If the website is newly created, the error doesn't happen.
Any guidance on resolving this issue or replacing the corrupted file would be greatly appreciated.
Thank you in advance!