[root@cacti weathermap]# php weathermap
PHP Fatal error: Uncaught Error: Call to undefined function cacti_sizeof() in /usr/share/cacti/plugins/weathermap/weathermap:65
Stack trace:
#0 {main}
thrown in /usr/share/cacti/plugins/weathermap/weathermap on line 65
Adding the following line fixes the execution :
require_once('../../include/global.php');
The weathermap CLI is currently not usable.
Adding the following line fixes the execution :
require_once('../../include/global.php');
Here is the patch. weathermap.patch