aaPanel_Kern
no if i have create any website using wp toolkit take long time with loading and no show any message and if try go to website and click Wordpress Setting this message appear Sorry. Specified wordpress site not found.
although the website working fine with no errors for frontend
and from Vulnerability Scan
An error occurred while the panel was running!
TypeError: Sql.init() takes 1 positional argument but 2 were given
REQUEST_DATE: 2024-12-03 11:16:01
VERSION: Debian GNU/Linux 12 x86_64(Py3.12.3) - 2.1.0
REMOTE_ADDR: 41.33.73.42
REQUEST_URI: POST /v2/site?action=wordpress_vulnerabilities_scan
REQUEST_FORM: {'path': '/www/wwwroot/shahrayar-stars.com'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Traceback (most recent call last):
File "/www/server/panel/BTPanel/init.py", line 2604, in publicObject
return run_exec().run(toObject, defs, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/BTPanel/init.py", line 2550, in run
result = getattr(toObject, get.action)(get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/panel_site_v2.py", line 7935, in wordpress_vulnerabilities_scan
return public.return_message(0,0,wordpress_scan.wordpress_scan().scan(get.path))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/wp_toolkit/wordpress_scan.py", line 392, in scan
if self.M("plugin_error","plugin_error").where("slug=?",(plguin,)).count()>0:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class_v2/wp_toolkit/wordpress_scan.py", line 71, in M
with totle_db.Sql(db) as sql:
^^^^^^^^^^^^^^^^
TypeError: Sql.init() takes 1 positional argument but 2 were given
thank you