Error 500 on "Add Snapin" after update to latest dev-branch and PHP 8
-
I am getting the following error below in the Apache2 logs after doing an update to dev-branch (1.5.9.243) and PHP8.2.3 update on Debain 11
[proxy_fcgi:error] [pid 1134] [client 10.XX.XXX.XX:54908] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: preg_grep(): Argument #2 ($array) must be of type array, null given in /var/www/html/fog/lib/fog/storagenode.class.php:230\nStack trace:\n#0 /var/www/html/fog/lib/fog/storagenode.class.php(230): preg_grep()\n#1 /var/www/html/fog/lib/fog/storagenode.class.php(243): StorageNode->_getData()\n#2 /var/www/html/fog/lib/fog/storagenode.class.php(129): StorageNode->getSnapinfiles()\n#3 /var/www/html/fog/lib/pages/snapinmanagementpage.class.php(466): StorageNode->get()\n#4 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): SnapinManagementPage->add()\n#5 /var/www/html/fog/management/index.php(58): FOGPageManager->render()\n#6 {main}\n thrown in /var/www/html/fog/lib/fog/storagenode.class.php on line 230', referer: http://fog/fog/management/index.php?node=snapin
I am curious what I need to do to fix that.
Thanks!
-
@Chris-Whiteley This is known and fixed in the latest version - really latest dev-branch as well as the latest official release 1.5.10 that came out a few days ago.
-
-
@Sebastian-Roth Thanks!