Cacti / plugin_reportit

ReportIt Plugin for Cacti
GNU General Public License v2.0
7 stars 8 forks source link

Error with reportit schedule email #105

Open lingchia888 opened 9 months ago

lingchia888 commented 9 months ago

Hi,

i just installed the reportit in cacti. A lot of error when i enable the schedule report under management > reports > administration>schedule reporting

Anyone know what is the problem?

Thank you.

2023-10-20 14:37:19 - CMDPHP PHP ERROR Backtrace: (/plugins/reportit/reports.php[48]:top_header(), /lib/functions.php[4650]:include_once(), /include/top_header.php[44]:draw_navigation_text(), /lib/functions.php[3769]:resolve_navigation_variables(), /lib/functions.php[3923]:preg_match_all(), CactiErrorHandler())

2023-10-20 14:37:19 - ERROR PHP DEPRECATED: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated in file: /var/www/html/lib/functions.php on line: 3923 2023-10-20 14:37:19 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php[48]:top_header(), /lib/functions.php[4650]:include_once(), /include/top_header.php[44]:draw_navigation_text(), /lib/functions.php[3769]:CactiErrorHandler()) 2023-10-20 14:37:19 - ERROR PHP WARNING: Trying to access array offset on value of type null in file: /var/www/html/lib/functions.php on line: 3769 2023-10-20 14:37:19 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php[48]:top_header(), /lib/functions.php[4650]:include_once(), /include/top_header.php[44]:draw_navigation_text(), /lib/functions.php[3769]:CactiErrorHandler()) 2023-10-20 14:37:19 - ERROR PHP WARNING: Undefined array key "?" in file: /var/www/html/lib/functions.php on line: 3769 2023-10-20 14:37:19 - CMDPHP PHP ERROR Backtrace: (/plugins/reportit/reports.php[48]:top_header(), /lib/functions.php[4650]:include_once(), /include/top_header.php[44]:draw_navigation_text(), /lib/functions.php[3767]:resolve_navigation_variables(), /lib/functions.php[3923]:preg_match_all(), CactiErrorHandler()) 2023-10-20 14:37:19 - ERROR PHP DEPRECATED: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated in file: /var/www/html/lib/functions.php on line: 3923 2023-10-20 14:37:19 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php[48]:top_header(), /lib/functions.php[4650]:include_once(), /include/top_header.php[44]:draw_navigation_text(), /lib/functions.php[3767]:CactiErrorHandler()) 2023-10-20 14:37:19 - ERROR PHP WARNING: Trying to access array offset on value of type null in file: /var/www/html/lib/functions.php on line: 3767 2023-10-20 14:37:19 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php[48]:top_header(), /lib/functions.php[4650]:include_once(), /include/top_header.php[44]:draw_navigation_text(), /lib/functions.php[3767]:CactiErrorHandler()) 2023-10-20 14:37:19 - ERROR PHP WARNING: Undefined array key "?" in file: /var/www/html/lib/functions.php on line: 3767 2023-10-20 14:37:19 - CMDPHP PHP ERROR Backtrace: (/plugins/reportit/reports.php[48]:top_header(), /lib/functions.php[4650]:include_once(), /include/top_header.php[27]:draw_navigation_text(), /lib/functions.php[3769]:resolve_navigation_variables(), /lib/functions.php[3923]:preg_match_all(), CactiErrorHandler()) 2023-10-20 14:37:19 - ERROR PHP DEPRECATED: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated in file: /var/www/html/lib/functions.php on line: 3923 2023-10-20 14:37:19 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php[48]:top_header(), /lib/functions.php[4650]:include_once(), /include/top_header.php[27]:draw_navigation_text(), /lib/functions.php[3769]:CactiErrorHandler()) 2023-10-20 14:37:19 - ERROR PHP WARNING: Trying to access array offset on value of type null in file: /var/www/html/lib/functions.php on line: 3769 2023-10-20 14:37:19 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/reportit/reports.php[48]:top_header(), /lib/functions.php[4650]:include_once(), /include/top_header.php[27]:draw_navigation_text(), /lib/functions.php[3769]:CactiErrorHandler()) 2023-10-20 14:37:19 - ERROR PHP WARNING: Undefined array key "?" in file: /var/www/html/lib/functions.php on line: 3769