I wanna add wordpress to reversed IP but there is any issue with that.
When i click on menu website and click to wordpress setting on that menu, it showing error like this:
An error occurred while the panel was runningļ¼
TypeError: list indices must be integers or slices, not str
REQUEST_DATE: 2024-03-14 18:06:50
PAN_VERSION: 6.8.35
OS_VERSION: Ubuntu 23.10 x86_64(Py3.7.8)
REMOTE_ADDR: 45.126.185.188
REQUEST_URI: POST /site?action=get_wp_username
REQUEST_FORM: {'s_id': '1'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 1929, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/init.py", line 1881, in run
result = getattr(toObject, get.action)(get)
File "class/panelSite.py", line 6019, in get_wp_username
return one_key_wp.one_key_wp().get_wp_username(get)
File "class/one_key_wp.py", line 511, in get_wp_username
db_name = public.M('databases').where('id=?', (db_info['d_id'],)).field('name').find()
TypeError: list indices must be integers or slices, not str
i will include screenshot to make it clear.
Please help me to solve this issue.
thanks