5040 - PHP Fatal error: Call to undefined method StorageGroup::getSetting()
-
After updating, I now see this in the apache log (clients sit waiting to check in)
[Thu Oct 22 09:42:54.973919 2015] [:error] [pid 7483] [client 10.240.11.209:43438] PHP Fatal error: Call to undefined method StorageGroup::getSetting() in /var/www/html/fog/lib/fog/StorageGroup.class.php on line 46
-
Should be solved.
-
I doesn’t see it fixed in the repo.
So here is the quickfix if you need to deploy some images right now (i was in this case after upgrading to trunk…)In fogproject/packages/web/lib/fog/StorageGroup.class.php
On line 46 :'typeID'=>explode(',',$this->getSetting('FOG_USED_TASKS')),
Should be :
'typeID'=>explode(',',$this->FOGCore->getSetting('FOG_USED_TASKS')),
-
@g.chanaud just because you don’t see it doesn’t mean it isn’t fixed. I moved the get setting and set setting so I don’t have to call them through fogcore
-
Fixed
But new issue now - maybe better for another thread - php requests are slow to load now (including /fog/service/ipxe/boot.php - which sometimes times out)