Today the first time I got messages like:
Fatal error: Call to a member function on a non-object in /usr/local/oreon/include/generatefile/services.php on line 29
or
Fatal error: Call to a member function on a non-object in /usr/local/oreon/include/generatefile/hosts.php on line 31
Two things I changed:
1.
I included two selfwrote scripts which use
$hostname = $s->get_host_name();
$servicename = $s->get_description();
and
$hostname = $oreon->hosts[$oreon->services[$sv]->get_host()]->get_name();
$servicename = $oreon->services[$sv]->get_description();
2. I added a lot of service groups with about 10 to 200 services in each of them. Could this be a problem?
Thank you
/peter
Fatal error: Call to a member function on a non-object in /usr/local/oreon/include/generatefile/services.php on line 29
or
Fatal error: Call to a member function on a non-object in /usr/local/oreon/include/generatefile/hosts.php on line 31
Two things I changed:
1.
I included two selfwrote scripts which use
$hostname = $s->get_host_name();
$servicename = $s->get_description();
and
$hostname = $oreon->hosts[$oreon->services[$sv]->get_host()]->get_name();
$servicename = $oreon->services[$sv]->get_description();
2. I added a lot of service groups with about 10 to 200 services in each of them. Could this be a problem?
Thank you
/peter
Comment