Re: Error in the Server.subs.php
Reply #1 –
sys_getloadavg() is for some reason returning false rather than an array - but I’m not on my desktop to look at the rest of it to see how safely to change it.
Maybe it should be
// The internal function should always be available
if (function_exists('sys_getloadavg'))
{
$sys_load = sys_getloadavg();
if (is_array($sys_load))
return $sys_load[0] / $cores;
}
Not 100% sure if the indentation is perfect, tabs on iPad are hard! But if it’s not an array it shouldn’t be using that method to return.