Closed rchen14b closed 5 years ago
I also tried re-enabled it. And when I tried to remove a data item, it gave me:
2018/09/24 10:06:59 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace) thrown in file: /var/www/html/cacti/plugins/reportit/rrdlist.php on line: 513
Stack trace: 2018/09/24 10:06:59 - ERROR PHP ERROR in Plugin 'reportit': Uncaught Error: [] operator not supported for strings in /var/www/html/cacti/plugins/reportit/rrdlist.php:513
Already installed 1.0.3
The supported strings was correct and verified by another user I thought. That may be a different one though.
So I've just pushed an update for more issue #43 fixes. I'll look into the rest of your issues later.
@netniV Thank you.
Can you download the latest version and then see what errors you get?
Here is the output with latest version:
2018/09/24 12:21:36 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace) thrown in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 209
Stack trace: 2018/09/24 12:21:36 - ERROR PHP ERROR in Plugin 'reportit': Uncaught Error: Call to undefined function my_id() in /var/www/html/cacti/plugins/reportit/reports.php:209 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 33 include_once)(/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_html.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 33 include_once)(/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_html.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33 2018/09/24 12:21:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 32 include_once)(/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_shared.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 32 include_once)(/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_shared.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32 2018/09/24 12:21:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 31 include_once)(/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/const_reports.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 31 include_once)(/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/const_reports.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31 2018/09/24 12:21:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 30 include_once)(/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/const_runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 30 include_once)(/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/const_runtime.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30 2018/09/24 12:21:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 29 include_once)(/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_online.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 29 include_once)(/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_online.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29 2018/09/24 12:21:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 28 include_once)(/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_validate.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28 2018/09/24 12:21:36 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 28 include_once)(/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_validate.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28 2018/09/24 12:21:36 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/09/24 12:21:36 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28 2018/09/24 12:21:28 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'reportit' 2018/09/24 12:21:28 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace) 2018/09/24 12:21:28 - ERROR PHP PARSE in Plugin 'reportit': syntax error, unexpected '|' in file: /var/www/html/cacti/plugins/reportit/lib/funct_calculate.php(513) : eval()'d code on line: 1 2018/09/24 12:21:28 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/run.php: 50 calculation)(/plugins/reportit/run.php: 73 runtime)(/plugins/reportit/runtime.php: 471 transform)(/plugins/reportit/lib/funct_runtime.php: 536 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/09/24 12:21:28 - ERROR PHP NOTICE in Plugin 'reportit': A non well formed numeric value encountered in file: /var/www/html/cacti/plugins/reportit/lib/funct_runtime.php on line: 536
Now, I'm not able to delete a existing report as well. It pop up "Please at least select a report". But I do selected it.
@netniV Any update?
Debugging 👍 I'm on a ReportIT night unless something urgent crops up with 1.2
should have an update by the weekend. part of a large 1.1.0 change.
I haven't made a change on this yet. But there is a 1.1.0 dev out. I'll probably look at this tomorrow night now that I've made those changes and upgrading work again.
OK, so I now know that the reason for this "you must select a report" error is because your report believes that it is already running. Therefore, trying to run it again, won't work. You should see a status of running and a padlock on the right hand side.
This should now be resolved.
@netniV
I tried this new version today.
Before I ran:
9 | Traffic Report | 2018/10/01 - 2018/10/01 | Idle | n/a | 0.0 | (2) |
---|
When I click run:
2018/10/02 14:13:07 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace) thrown in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 209
Stack trace: 2018/10/02 14:13:07 - ERROR PHP ERROR in Plugin 'reportit': Uncaught Error: Call to undefined function my_id() in /var/www/html/cacti/plugins/reportit/reports.php:209 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 33 include_once)(/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_html.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 33 include_once)(/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_html.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33 2018/10/02 14:13:07 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 32 include_once)(/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_shared.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 32 include_once)(/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_shared.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32 2018/10/02 14:13:07 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 31 include_once)(/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/const_reports.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 31 include_once)(/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/const_reports.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31 2018/10/02 14:13:07 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 30 include_once)(/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/const_runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 30 include_once)(/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/const_runtime.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30 2018/10/02 14:13:07 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 29 include_once)(/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_online.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 29 include_once)(/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_online.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29 2018/10/02 14:13:07 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 28 include_once)(/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_validate.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28 2018/10/02 14:13:07 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 28 include_once)(/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_validate.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28 2018/10/02 14:13:07 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 14:13:07 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28 2018/10/02 14:13:01 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'reportit' 2018/10/02 14:13:01 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace) 2018/10/02 14:13:01 - ERROR PHP PARSE in Plugin 'reportit': syntax error, unexpected '|' in file: /var/www/html/cacti/plugins/reportit/lib/funct_calculate.php(513) : eval()'d code on line: 1 LIMIT 1 AND state <> 1 WHERE id IN (9) FROM plugin_reportit_reports 2018/10/02 14:13:00 - CMDPHP Report SQL: SELECT id, name, description, state 2018/10/02 14:13:00 - CMDPHP POST: action => actions 2018/10/02 14:13:00 - CMDPHP POST: drp_action => 1 2018/10/02 14:13:00 - CMDPHP POST: chk_9 => on 2018/10/02 14:13:00 - CMDPHP POST: __csrf_magic => sid:c2000727c9d556244e4c1773e5971d49f7ef50f3,1538507577
i can see I've left some debug bits in. Let me push an update through shortly.
OK, so I've add some code to the 1.1.1 development. That should report the formula being used at time of shutdown. Give that a try and I've removed the spurious debug messages above.
@netniV Hi,
I tried 1.1.1. And lost formula part at measurand.
Please tell me it’s still in the DB?
@netniV
I completely uninstalled it and reinstalled it. Is that a problem?
Yes. Uninstalling removes the database tables. Do you have a backup?
There again, I'm not entirely sure because it looks commented out. However, the install may do something.
@netniV So, should I wait for the next update? I'm not sure what I should do.
try this in MySQL:
SELECT description, calc_formula, abbreviation FROM `plugin_reportit_measurands`
@netniV
It displays fine after I did that.
But I tried run it after I create a report, it failed again.
2018/10/02 15:59:31 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace) thrown in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 209
Stack trace: 2018/10/02 15:59:31 - ERROR PHP ERROR in Plugin 'reportit': Uncaught Error: Call to undefined function my_id() in /var/www/html/cacti/plugins/reportit/reports.php:209 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 33 include_once)(/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_html.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 33 include_once)(/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_html.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33 2018/10/02 15:59:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 32 include_once)(/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_shared.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 32 include_once)(/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_shared.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32 2018/10/02 15:59:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 31 include_once)(/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/const_reports.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 31 include_once)(/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/const_reports.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31 2018/10/02 15:59:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 30 include_once)(/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/const_runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 30 include_once)(/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/const_runtime.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30 2018/10/02 15:59:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 29 include_once)(/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_online.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 29 include_once)(/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_online.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29 2018/10/02 15:59:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 28 include_once)(/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_validate.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28 2018/10/02 15:59:31 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 28 include_once)(/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_validate.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28 2018/10/02 15:59:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace) 2018/10/02 15:59:31 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28 2018/10/02 15:59:21 - SYSTEM THOLD STATS: Time:1.2590 Tholds:707 TotalDevices:1017 DownDevices:0 NewDownDevices:0 2018/10/02 15:59:16 - SYSTEM STATS: Time:14.7522 Method:spine Processes:1 Threads:48 Hosts:1017 HostsPerProcess:1017 DataSources:7506 RRDsProcessed:0 2018/10/02 15:59:04 - REPORTIT ERROR: Bad Formula: |query_0| 2018/10/02 15:59:04 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'reportit' 2018/10/02 15:59:04 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace) 2018/10/02 15:59:04 - ERROR PHP PARSE in Plugin 'reportit': syntax error, unexpected '|' in file: /var/www/html/cacti/plugins/reportit/lib/funct_calculate.php(531) : eval()'d code on line: 1
2018/10/02 15:59:04 - REPORTIT ERROR: Bad Formula: |query_0|
This is the new part I put in.
So, I can't stop the shutdown of the plugin occurring. But at least it now gives you some info as to why. i'm going to add a bit more code that stops those extra errors because it's really useless and annoying.
@netniV
Thanks. I actually tried it again with a signal report instead of a traffic report. It works if I only create one measurand and use f_max, f_min.
@netniV I guess the corruption was related to the formula part. For the traffic report. I create a threshold variable first.(c1v) But it wasn't displayed on formula area when I create a measurand. And for MAX traffic, I was using maxRRDvalue. Could be that causing corruption? The tutorial was use maxValue for maximum traffic, but it wasn't on my formula area.
Good news, I've fixed #58 which should reduce the issue to the problem at hand in future. As for the formula area, can you export your template and attach it here ? I should be able to import and then have a look.
When you are editing your measurand, you should see it under the Variables section:
@netniV I'm following the template from the introduction document.
@netniV
I'm also having issue to add email Recipients on a report. It just won't add it. Should I create a separate ticket?
There is already one for that. I'm not sure which it is and that's a longer fix to resolve.
Have you got the PDF you are following? Just so I can see if it's any different to one I'd seen.
@netniV
Yes. Attached reportit_061_introduction.pdf
OK, I had this one. Not sure if there is a more up to date version but it gives a basic overview.
As far as this issue goes, can we now close it?
Sure, thanks so much for the help.
Regards, Ruiyang(Ryan) Chen
On Oct 2, 2018, at 17:04, Mark Brugnoli-Vinten notifications@github.com wrote:
As far as this issue goes, can we now close it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hey,
I try to create a traffic utilization report by using this plugin. I followed instruction created all necessary measurands and report. However, after I clicked run report, this plugin disabled itself. I also attached log information.
2018/09/24 10:01:21 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'reportit'
2018/09/24 10:01:21 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace) thrown in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 209
1 {main}
0 /var/www/html/cacti/plugins/reportit/reports.php(59): standard()
Stack trace:
2018/09/24 10:01:21 - ERROR PHP ERROR in Plugin 'reportit': Uncaught Error: Call to undefined function my_id() in /var/www/html/cacti/plugins/reportit/reports.php:209
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 33 include_once)(/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_html.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 33 include_once)(/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_html.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33
2018/09/24 10:01:21 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 33 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 33
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 32 include_once)(/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_shared.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 32 include_once)(/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_shared.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32
2018/09/24 10:01:21 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 32 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 32
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 31 include_once)(/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/const_reports.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 31 include_once)(/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/const_reports.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31
2018/09/24 10:01:21 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 31 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 31
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 30 include_once)(/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/const_runtime.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 30 include_once)(/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/const_runtime.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30
2018/09/24 10:01:21 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 30 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 30
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 29 include_once)(/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_online.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 29 include_once)(/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_online.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29
2018/09/24 10:01:21 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 29 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 29
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 28 include_once)(/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(): Failed opening 'REPORTIT_BASE_PATH/lib/funct_validate.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28
2018/09/24 10:01:21 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php: 28 include_once)(/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP WARNING in Plugin 'reportit': include_once(REPORTIT_BASE_PATH/lib/funct_validate.php): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28
2018/09/24 10:01:21 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 28 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2018/09/24 10:01:21 - ERROR PHP NOTICE in Plugin 'reportit': Use of undefined constant REPORTIT_BASE_PATH - assumed 'REPORTIT_BASE_PATH' in file: /var/www/html/cacti/plugins/reportit/reports.php on line: 28
2018/09/24 10:01:20 - SYSTEM THOLD STATS: Time:0.9472 Tholds:714 TotalDevices:1008 DownDevices:0 NewDownDevices:0
2018/09/24 10:01:16 - SYSTEM STATS: Time:15.4598 Method:spine Processes:1 Threads:48 Hosts:1008 HostsPerProcess:1008 DataSources:7448 RRDsProcessed:0
2018/09/24 10:00:54 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'reportit'
2018/09/24 10:00:54 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2018/09/24 10:00:54 - ERROR PHP PARSE in Plugin 'reportit': syntax error, unexpected '|' in file: /var/www/html/cacti/plugins/reportit/lib/funct_calculate.php(513) : eval()'d code on line: 1
2018/09/24 10:00:54 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/run.php: 50 calculation)(/plugins/reportit/run.php: 73 runtime)(/plugins/reportit/runtime.php: 471 transform)(/plugins/reportit/lib/funct_runtime.php: 536 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2018/09/24 10:00:54 - ERROR PHP NOTICE in Plugin 'reportit': A non well formed numeric value encountered in file: /var/www/html/cacti/plugins/reportit/lib/funct_runtime.php on line: 536