On many pages on CWP admin panel I see multiple similar errors
the same I see in /usr/local/cwpsrv/logs/error_log
Some relate to WebServers_conf_editor.php
2020/04/17 11:02:35 [error] 31259#0: *459 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/WebServers_conf_editor.php on line 0" while reading upstream, client: 93.92.199.232, server: localhost, request: "GET /cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=WebServers_conf_editor HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "ipnets.ru:2031", referrer: "https://ipnets.ru:2031/cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=httpd_fullstatus"
Other relate to ajax_ssl_certificate.php
2020/04/17 11:17:53 [error] 31260#0: *975 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: keeke in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_ssl_certificate.php on line 0
PHP message: PHP Warning: in_array() expects parameter 2 to be array, string given in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_ssl_certificate.php on line 0" while reading response header from upstream, client: 93.92.199.232, server: localhost, request: "POST /cwp_33098c336383410db4086d05640a0e26/admin/loader_ajax.php?ajax=ssl_certificate&acc=config HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "ipnets.ru:2031", referrer: "https://ipnets.ru:2031/cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=ssl_certificate"
Others relate to array multiple errors when working with SQL
2020/04/17 11:34:03 [error] 31260#0: *1618 FastCGI sent in stderr: "PHP message: PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0" while reading upstream, client: 93.92.199.232, server: localhost, request: "POST /cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=list_subdomains HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "ipnets.ru:2031", referrer: "https://ipnets.ru:2031/cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=list_subdomains"
2020/04/17 11:05:04 [error] 31260#0: *551 FastCGI sent in stderr: "PHP message: PHP Warning: Error while sending QUERY packet. PID=5745 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning: mysqli_fre" while reading upstream, client: 93.92.199.232, server: localhost, request: "POST /cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=add_subdomain HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "ipnets.ru:2031", referrer: "https://ipnets.ru:2031/cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=add_subdomain"
All of them relate to the issues in CWP code.
At least array issue was noted many times in the Internet and could be resolved by modifying the code.
but here php code pages are base64 encoded and I can't modify them.
What can we done?