NagVis / nagvis

Visualization addon for your open source monitoring core
http://nagvis.org/
GNU General Public License v2.0
113 stars 73 forks source link

Nagvis Map Error: Syntax Error Invalid JSON response #327

Open Marvin4321 opened 1 year ago

Marvin4321 commented 1 year ago

Hallo, Just installed Nagvis map on Almalinux 8 and when im trying to get in the Options -> General Configurations i get this message:

Invalid JSON response Time: 1669966597 URL: /nagvis/server/core/ajax_handler.php?mod=MainCfg&act=edit&_ajaxid=1669966597 Response:

  {"type":"error","message":"Error: (0) htmlentities(): Passing null to parameter #1 ($string) of type string is deprecatedURL: \/nagvis\/server\/core\/ajax_handler.php?mod=MainCfg&act=edit&_ajaxid=1669966597\nFile: \/opt\/moso\/share\/nagvis\/share\/server\/core\/functions\/html.php\nLine: 29\n

0 [internal function]: nagvisExceptionErrorHandler()

\n#1 \/opt\/moso\/share\/nagvis\/share\/server\/core\/functions\/html.php(29): htmlentities() \n#2 \/opt\/moso\/share\/nagvis\/share\/server\/core\/classes\/ViewEditMainCfg.php(187): escape_html() \n#3 \/opt\/moso\/share\/nagvis\/share\/server\/core\/classes\/ViewEditMainCfg.php(100): ViewEditMainCfg->renderSection() \n#4 \/opt\/moso\/share\/nagvis\/share\/server\/core\/classes\/CoreModMainCfg.php(47): ViewEditMainCfg->parse() \n#5 \/opt\/moso\/share\/nagvis\/share\/server\/core\/functions\/index.php(120): CoreModMainCfg->handleAction() \n#6 \/opt\/moso\/share\/nagvis\/share\/server\/core\/ajax_handler.php(59): require('...') \n#7 {main}<\/code>Output:

\n\n\n\n