Search found 2 matches

by Helmut
Sat Feb 19, 2022 6:22 am
Forum: Open Source Nagios Projects
Topic: Warning: Trying to access array offset on value of type bool
Replies: 1
Views: 2955

Warning: Trying to access array offset on value of type bool

Hi, I just upgraded FreeBSD 12.3 from php74 to php80. When I access Nagios 4.4.6 I get Warning: Trying to access array offset on value of type bool in /var/www/nagios/includes/utils.inc.php on line 217 if($s[0]=='#') continue; I checked the output of $s with echo "Value " . $s . "<BR>...
by Helmut
Thu Feb 11, 2021 8:45 am
Forum: Open Source Nagios Projects
Topic: Notice: Trying to access array offset on value of type bool
Replies: 0
Views: 1797

Notice: Trying to access array offset on value of type bool

Hi, I recently upgraded to PHP74 on FreeBSD. When I enter the website I get a blank screen and: Notice: Trying to access array offset on value of type bool in /var/www/nagios/includes/utils.inc.php on line 217 if(($fh=@fopen($fname,'r'))!=FALSE){ // read all lines in the config file while(!feof($fh)...