Cacti / plugin_mikrotik

Mikrotik Plugin for Cacti
GNU General Public License v2.0
60 stars 24 forks source link

Can't create any interface graphs on mikrotik #71

Closed MegaAndrey closed 1 year ago

MegaAndrey commented 1 year ago
2023-03-06 14:06:18 - CMDPHP PHP ERROR WARNING Backtrace: (/graphs_new.php[42]:form_save(), /graphs_new.php[164]:html_graph_new_graphs(), /lib/html_graph.php[465]:host_new_graphs_save(), /graphs_new.php[269]:CactiErrorHandler()) 2023-03-06 14:06:18 - ERROR PHP WARNING: Invalid argument supplied for foreach() in file: /var/www/html/cacti/graphs_new.php on line: 269 2023-03-06 14:06:18 - CMDPHP PHP ERROR WARNING Backtrace: (/graphs_new.php[42]:form_save(), /graphs_new.php[164]:html_graph_new_graphs(), /lib/html_graph.php[465]:host_new_graphs_save(), /graphs_new.php[196]:unserialize(), CactiErrorHandler()) 2023-03-06 14:06:18 - ERROR PHP WARNING: unserialize() expects exactly 1 parameter, 2 given in file: /var/www/html/cacti/graphs_new.php on line: 196

Plugin: 3.1 Cacti: Version 1.2.24

TheWitness commented 1 year ago

What PHP version?

MegaAndrey commented 1 year ago

PHP 5.4.16

TheWitness commented 1 year ago

I would seriously consider upgrading PHP. If you are stuck on RHEL7, use the REMI repos.

MegaAndrey commented 1 year ago

Thanks, resolved.