Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after new Installation (Ubuntu 22.04) #340

Open
TheUltimateRookieUser opened this issue May 6, 2023 · 1 comment
Open

Error after new Installation (Ubuntu 22.04) #340

TheUltimateRookieUser opened this issue May 6, 2023 · 1 comment

Comments

@TheUltimateRookieUser
Copy link

Hi there,
after using nagios for a while I would like to use NagVis. I did an apt get install nagvis on Ubuntu, which runs fine without errors. I could open the nagvis page unter xxx.xxx.xxx.xxx/nagvis and could enter credentials.

http://xxx.xxx.xxx.xxx/nagvis/frontend/nagvis-js/index.php

shows

Error: (0) preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated
URL: /nagvis/frontend/nagvis-js/index.php
File: /usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo/Compiler.php
Line: 1695
#0 [internal function]: nagvisExceptionErrorHandler()
#1 /usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo/Compiler.php(1695): preg_match()
#2 /usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo/Compiler.php(1302): Dwoo_Compiler->parseFunction()
#3 /usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo/Compiler.php(758): Dwoo_Compiler->parse()
#4 /usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo/Template/String.php(369): Dwoo_Compiler->compile()
#5 /usr/share/nagvis/share/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo.php(363): Dwoo_Template_String->getCompiledTemplate()
#6 /usr/share/nagvis/share/frontend/nagvis-js/classes/NagVisHeaderMenu.php(85): Dwoo->get()
#7 /usr/share/nagvis/share/frontend/nagvis-js/classes/FrontendModOverview.php(77): NagVisHeaderMenu->__toString()
#8 /usr/share/nagvis/share/frontend/nagvis-js/classes/FrontendModOverview.php(55): FrontendModOverview->showViewDialog()
#9 /usr/share/nagvis/share/server/core/functions/index.php(120): FrontendModOverview->handleAction()
#10 /usr/share/nagvis/share/frontend/nagvis-js/index.php(53): require('...')
#11 {main}

Php is Version 8.1

Ubuntu is 22.04.2 LTS

Any help is appreciated..

@jdidierpichatext
Copy link

@TheUltimateRookieUser did you find any solution regarding this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants