Open zhdhasn opened 1 year ago
PHP 8.1 is not supported, PHP 7.4 does work.
A fork exists with PHP 8.1 support, but it requires LibreNMS - https://github.com/librenms-plugins/Weathermap
Just use the official cacti version @ https://GitHub.com/cacti/plugin_weathermap
I Have Installed new Cacti sever in Ubuntu 22.04 PHP version: 8.1
I am trying to install weathermap plugin, but it sayes
Sorry, we could not process your last action. Error: 500 Internal Server Error Reason: The response to the last action was unexpected.
weathermap version: 0.98a
How can i resolve this issue ? Please help me anyone ....
Apache error log:
[Fri Feb 24 00:16:25.029122 2023] [core:notice] [pid 1409649] AH00094: Command line: '/usr/sbin/apache2' [Fri Feb 24 00:16:33.927722 2023] [php:error] [pid 1409650] [client 103.131.158.174:52959] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/html/cacti/plugins/weathermap/setup.php on line 713, referer: http://103.204.200.19/cacti/plugins.php [Fri Feb 24 00:19:36.626268 2023] [php:error] [pid 1409651] [client 103.131.158.174:52975] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/html/cacti/plugins/weathermap/setup.php on line 713, referer: http://103.204.200.19/cacti/plugins.php [Fri Feb 24 00:22:17.310723 2023] [mpm_prefork:notice] [pid 1409649] AH00170: caught SIGWINCH, shutting down gracefully [Fri Feb 24 00:22:52.742988 2023] [mpm_prefork:notice] [pid 988] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations [Fri Feb 24 00:22:52.747837 2023] [core:notice] [pid 988] AH00094: Command line: '/usr/sbin/apache2' [Fri Feb 24 00:23:36.433027 2023] [php:error] [pid 1013] [client 103.131.158.174:52995] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/html/cacti/plugins/weathermap/setup.php on line 713, referer: http://103.204.200.19/cacti/plugins.php [Fri Feb 24 00:24:15.013663 2023] [php:error] [pid 1017] [client 103.131.158.174:52994] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/html/cacti/plugins/weathermap/setup.php on line 713, referer: http://103.204.200.19/cacti/plugins.php [Fri Feb 24 00:24:19.703826 2023] [php:error] [pid 1015] [client 103.131.158.174:53002] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/html/cacti/plugins/weathermap/setup.php on line 713 [Fri Feb 24 00:24:41.152704 2023] [php:error] [pid 1014] [client 103.131.158.174:53004] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/html/cacti/plugins/weathermap/setup.php on line 713, referer: http://103.204.200.19/cacti/plugins.php