Navgis drop error 500 on V2.x

Hello,

Just upgrade v 1.6 to 2.0.0p7 (CEE)
Never used NAGVIS when on 1.6 but decide to use it now.

When accessing https://myurl/mysite/nagvis/ I’m redirected to https://myurl/mysite/nagvis/frontend/nagvis-js/index.php But en error 500 is dropped :

[Mon Jul 19 13:02:17.983954 2021] [fcgid:warn] [pid 29405] [client 127.0.0.1:37566] mod_fcgid: stderr: PHP Fatal error: Call to undefined method ReflectionParameter::getType() in /opt/omd/versions/2.0.0p7.cee/share/nagvis/htdocs/frontend/nagvis-js/ext/dwoo-1.1.0/Dwoo/Compiler.php on line 3010

Anyone could help ?

Thank you !

Hi,
did you check your installed PHP version? Should be > 5.x.
Cheers,
Christian

Hello,

same issue here…
we updated from 2.0.0p5 → 2.0.0p7 and Nagvis stopped with a Error 500.
For testing we restored 2.0.0p5 and everything works fine again.
PHP is 5.4.16-48 on RHEL7

Anyone a Idea?

Thank you!

Hello,

I’ve read in some Wordpress Forum that they had problems with “ReflectionParameter::getType()” with PHP up to <= 5.6
I changed the code in “nagvis-js/ext/dwoo-1.1.0/Dwoo/Compiler.php” like it was in 2.0.0p5 and it fixed the issue for now. But I have no idea which side effects this dirty fix has…

sho

Hi,
the base problem is the PHP version in older Linux Repos. Please look at this Forum article: Php dependency error RHEL 7 - Troubleshooting - Checkmk Community
Cheers,
Christian

Thank you all - I should have guessed it was a PHP related probleem !

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.