Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Warning: Trying to access array offset on value of type bool in /usr/local/www/nagios/includes/utils.inc.php on line 217
read_cgi_config_file() is looping on !feof() but debugging shows that after the last line of the file is read, feof() still returns FALSE even though the file handle is positioned at EOF and when fgets() is called it return FALSE (and we die).
I suspect there is a bug with php 8.0 where feof() doesn't return TRUE until after a fgets() is called and returns FALSE.