NagVis Error
Posted: Wed Oct 11, 2023 10:40 am
Hello Nagios community! I have just recently started working with Nagios XI, and I'm experiencing some problems with NagVis. I was able to access it until abouth a month ago, actually, I had started working on some maps for my server room. Then, all of a sudden, I started getting this error upon opening it from the Home panel:
Error: (0) Trying to access array offset on value of type bool
URL: /nagvis/frontend/nagvis-js/index.php
File: /usr/local/nagvis/share/server/core/classes/CoreAuthModPDO.php
Line: 95
#0 /usr/local/nagvis/share/server/core/classes/CoreAuthModPDO.php(95): nagvisExceptionErrorHandler()
#1 /usr/local/nagvis/share/server/core/classes/CoreAuthModPDO.php(197): CoreAuthModPDO->checkUserAuth()
#2 /usr/local/nagvis/share/server/core/classes/CoreAuthHandler.php(161): CoreAuthModPDO->isAuthenticated()
#3 /usr/local/nagvis/share/server/core/classes/CoreLogonDialogHandler.php(40): CoreAuthHandler->isAuthenticated()
#4 /usr/local/nagvis/share/server/core/classes/CoreLogonMixed.php(36): CoreLogonDialogHandler->check()
#5 /usr/local/nagvis/share/server/core/functions/index.php(56): CoreLogonMixed->check()
#6 /usr/local/nagvis/share/frontend/nagvis-js/index.php(53): require('...')
#7 {main}
Unfortunately, I cannot go back to a previous snapshot since I procrastinated fixing the issue and continued adding hosts and services.
Would someone please be able to support me with this issue? I'm really not sure what to do here
P.s. I get the same error on both the regular and admin users.
Error: (0) Trying to access array offset on value of type bool
URL: /nagvis/frontend/nagvis-js/index.php
File: /usr/local/nagvis/share/server/core/classes/CoreAuthModPDO.php
Line: 95
#0 /usr/local/nagvis/share/server/core/classes/CoreAuthModPDO.php(95): nagvisExceptionErrorHandler()
#1 /usr/local/nagvis/share/server/core/classes/CoreAuthModPDO.php(197): CoreAuthModPDO->checkUserAuth()
#2 /usr/local/nagvis/share/server/core/classes/CoreAuthHandler.php(161): CoreAuthModPDO->isAuthenticated()
#3 /usr/local/nagvis/share/server/core/classes/CoreLogonDialogHandler.php(40): CoreAuthHandler->isAuthenticated()
#4 /usr/local/nagvis/share/server/core/classes/CoreLogonMixed.php(36): CoreLogonDialogHandler->check()
#5 /usr/local/nagvis/share/server/core/functions/index.php(56): CoreLogonMixed->check()
#6 /usr/local/nagvis/share/frontend/nagvis-js/index.php(53): require('...')
#7 {main}
Unfortunately, I cannot go back to a previous snapshot since I procrastinated fixing the issue and continued adding hosts and services.
Would someone please be able to support me with this issue? I'm really not sure what to do here
P.s. I get the same error on both the regular and admin users.