Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to Presets --> Data Profiles
- Choose one Profile
- Add / Edit one Data Source Profile RRAs
- Type letters instead of numbers in the "Rows" line
Expected behavior
(/data_source_profiles.php[57]:get_filter_request_var(),
/lib/html_utility.php[459]:die_html_input_error(),
/lib/html_validate.php[64]:cacti_debug_backtrace())
(/data_source_profiles.php[74]:get_size(), /data_source_profiles.php[720]:get_filter_request_var(),
/lib/html_utility.php[459]:die_html_input_error(),
/lib/html_validate.php[64]:cacti_debug_backtrace())
Cacti.log:
2019/03/14 09:04:36 - CMDPHP PHP ERROR WARNING Backtrace: (/data_source_profiles.php[67]:CactiErrorHandler())
2019/03/14 09:04:36 - ERROR PHP WARNING: A non-numeric value encountered in file: /srv/www/cacti/data_source_profiles.php on line: 67
2019/03/14 09:04:36 - CMDPHP PHP ERROR WARNING Backtrace: (/data_source_profiles.php[74]:get_size(), /data_source_profiles.php[722]:CactiErrorHandler())
2019/03/14 09:04:36 - ERROR PHP WARNING: A non-numeric value encountered in file: /srv/www/cacti/data_source_profiles.php on line: 722