Uncaught TypeError

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
JaseMac
Posts: 1
Joined: Thu Nov 07, 2024 2:51 pm

Uncaught TypeError

Post by JaseMac »

Hello - Hoping for some help here.

I'm setting up a new Cacti Server to replace an old working installation.

New:
Cacti 1.2.28
RRD 1.8.0
PHP 8.1.16
MySQL 8.0.32
Thold 1.8.2
ReportIT 1.1.4

I have all the basics working fine and now putting in the plugins. I have my basic ReportIT report for interfaces in testing however when I run the report I get the following error log and the report crashes:

2024/11/07 14:39:02 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2024/11/07 14:39:02 - ERROR PHP ERROR: Uncaught TypeError: Unsupported operand types: int - string in C:\Apache24\htdocs\cacti\plugins\reportit\lib\funct_runtime.php:559 Stack trace: #0 C:\Apache24\htdocs\cacti\plugins\reportit\runtime.php(522): transform() #1 C:\Apache24\htdocs\cacti\plugins\reportit\run.php(78): runtime() #2 C:\Apache24\htdocs\cacti\plugins\reportit\run.php(55): calculation() #3 {main} thrown in file: C:\Apache24\htdocs\cacti\plugins\reportit\lib\funct_runtime.php on line: 559


thanks in advance
-Jase
User avatar
macan
Cacti Guru User
Posts: 1146
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Uncaught TypeError

Post by macan »

please report your problem here
https://github.com/Cacti/plugin_reportit/issues
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests