Nagios Core 4.4.6 Notice Error.

Hi,
I recently Nagios Core 4.4.6 with 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)){
$s=fgets($fh);
// skip comments
if($s[0]=='#')
continue;
217: if($s[0]=='#')
Is there any one that can help with this I am stumped on what happened here.
I recently Nagios Core 4.4.6 with 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)){
$s=fgets($fh);
// skip comments
if($s[0]=='#')
continue;
217: if($s[0]=='#')
Is there any one that can help with this I am stumped on what happened here.