I have just finished the upgrade from Cacti v0.8.8h to v1.2.27. And now I am testing to add back the Plugin "WeatherMap" into the Cacti.
I have downloaded the "WeatherMap" via the below Link, and paste in D:\Inetpub\wwwroocacti\plugins. But the Cacti Site will be crashed after I put in the Plugins of "WeatherMap".
https://github.com/Cacti/plugin_weathermap
The error is as below showing at Chrome Browser.
This page isn’t working
hk-cacti is currently unable to handle this request.
HTTP ERROR 500
I can see the below error in cacti.log
May I know if anyone can help to provide some solutions for me to solve this issue?
2024-05-23 20:09:32 - ERROR PHP PARSE: syntax error, unexpected '?', expecting variable (T_VARIABLE) in file: D:\Inetpub\wwwroot\cacti\plugins\weathermap\lib\WeatherMap.class.php on line: 1880
2024-05-23 20:09:32 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2024-05-23 20:09:33 - ERROR PHP PARSE: syntax error, unexpected '?', expecting variable (T_VARIABLE) in file: D:\Inetpub\wwwroot\cacti\plugins\weathermap\lib\WeatherMap.class.php on line: 1880
2024-05-23 20:09:33 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
Thank you so much.
Jason