When trying to import packages via cli errors are thrown and package is not imported
I have not tried a new install but I think someone has posted an issue with install and templates
[root@master1 cli]# php import_package.php --filename=/var/www/html/cacti/install/templates/Cisco_ASA_Security_Appliance.xml.gz
Read 88075 bytes of Package data
PHP Fatal error: Uncaught Error: Call to undefined function clear_cached_allowed_types() in /var/www/html/cacti/lib/import.php:415
Stack trace:
#0 /var/www/html/cacti/lib/import.php(180): xml_to_graph_template('98596032e975476...', Array, Array, '1.2.20', false)
#1 /var/www/html/cacti/lib/import.php(383): import_xml_data('<cacti>\t\n\t<hash...', false, '3', false, false)
#2 /var/www/html/cacti/cli/import_package.php(133): import_package('/var/www/html/c...', '3', false, false)
#3 {main}
thrown in /var/www/html/cacti/lib/import.php on line 415
When trying to import packages via cli errors are thrown and package is not imported I have not tried a new install but I think someone has posted an issue with install and templates