File manager: Unknow error

I am also facing the same error. File Manager shows unknown error.

I have tried each and everything given on your forums. (forum.hestiacp(dot)com/t/file-manager-unknown-error-error-500/1221/48)

But I am not able to fix it.

:8083/fm/?r=/getdir:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Using Ubuntu 20.04 LTS
HestiaCP 1.6.2

tail -f -s0.1 /var/log/hestia/nginx-error.log

2022/07/07 12:34:44 [error] 786#0: *288 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key 2 in /usr/lo                                                                 cal/hestia/web/fm/configuration.php on line 43" while reading response header from upstream, client: 206.84.149.4, server: _, request: "GET /fm/?r=/getuser HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "serv1.abc.x                                                                 yz:8083", referrer: "https://serv1.abc.xyz:8083/fm/"
2022/07/07 12:34:44 [error] 786#0: *288 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key 2 in /usr/local/hestia/web/fm/configuration.php on line 43 PHP message: PHP Notice:  Error reading from socket in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 3567PHP message: PHP Notice:  Connection closed by server in /us                                                                 r/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1527PHP message: PHP Notice:  Connection closed by server in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1338PHP message: PHP Notice:  fputs(): Send of 38 bytes failed with errno=32 Broken pipe in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1275PHP message: PHP Notice:  Connection closed by server in /usr/local/hestia/web/fm/vendor/phps                                                                 eclib/phpseclib/phpseclib/Net/SSH2.php on line 1338PHP message: PHP Notice:  fputs(): Send of 38 bytes failed with errno=32     Broken pipe in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1275PHP message: PHP Notice:  Connection closed by server in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1338PH                                                                 P message: PHP Fatal error:  Uncaught League\Flysystem\Sftp\ConnectionErrorException: Could not login with username: admin, host: 127.0.0.1 in /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php:244
Stack trace:
#0 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(207): League\Flysystem\Sftp\SftpAdapter->login()
#1 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Adapter/AbstractFtpAdapter.php(650): League\Flysystem\Sftp\SftpAdapter->connect()
#2 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(360): League\Flysystem\Adapter\AbstractFtpAdapt                                                                 er->getConnection()
#3 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Adapter/AbstractFtpAdapter.php(338): League\Flysystem\Sftp\SftpAdapter->listDirectoryContents()
#4 /usr/local
2022/07/07 12:34:44 [error] 786#0: *288 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key 2 in /usr/lo                                                                 cal/hestia/web/fm/configuration.php on line 43" while reading response header from upstream, client: 206.84.149.4, server: _, request: "GET /fm/?r=/getuser HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "serv1.abc.x                                                                 yz:8083", referrer: "https://serv1.abc.xyz:8083/fm/"
2022/07/07 12:34:52 [error] 786#0: *288 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key 2 in /usr/lo                                                                 cal/hestia/web/fm/configuration.php on line 43" while reading response header from upstream, client: 206.84.149.4, server: _ , request: "GET /fm/?r=/getdir HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "serv1.abc.xy                                                                 z:8083"