TypeError: string indices must be integers, not 'str'
REQUEST_DATE: 2024-05-23 08:16:47
VERSION: Ubuntu 22.04.4 LTS x86_64(Py3.12.3) - 7.0.1
REMOTE_ADDR: 49.47.135.29
REQUEST_URI: POST /v2/ajax?action=get_pay_type
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 2530, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2477, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/ajax_v2.py", line 1740, in get_pay_type
item['list'] = self.__get_home_list(item['list'], item['type'],plugin_list, plu_panel)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/ajax_v2.py", line 1854, in __get_home_list
info = plu_panel.get_soft_find(x['name'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/panelPlugin.py", line 1135, in get_soft_find
return self.check_status(softInfo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/panelPlugin.py", line 1010, in check_status
softInfo['task'] = self.check_setup_task(softInfo['name'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/panelPlugin.py", line 715, in check_setup_task
tmpt = public.getStrBetween('[',']',task['name'])
TypeError: string indices must be integers, not 'str'