BartekSz95 / phpvirtualbox

A web interface to manage and access Virtualbox machines.
Other
57 stars 16 forks source link

PHP fatal error when attempting to open folders (e.g. to add existing VM) #14

Open snobskidoo opened 8 months ago

snobskidoo commented 8 months ago

I get the following php error when attempting to open folders when trying to open a folder in phpvirtualbox:

[Mon Jan 29 20:41:00.393871 2024] [php:error] [pid 29825] [client xxxxxxx ] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/phpvbox/endpoints/jqueryFileTree.php:256\nStack trace:\n#0 /var/www/html/phpvbox/endpoints/jqueryFileTree.php(203): getdir()\n#1 {main}\n thrown in /var/www/html/phpvbox/endpoints/jqueryFileTree.php on line 256, referer: http://xxxx/phpvbox/

BartekSz95 commented 6 months ago

I need to check this, but actually I'm bussy in my job. You need more patience. Sorry!