New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
escapeshellarg() sometimes causes warning to appear if null/empty value is passed in #1560
Comments
There should be more of a backtrace. Can you please upload the entirety of the backtrace? |
Warning that escapeshellarg() is escaping a null
I have resolved, but please do upload the backtrace. |
These are the only two messages. Let me know if you want me to increase the logging level? 2018/04/21 14:46:30 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)2018/04/21 14:46:30 - ERROR PHP ERROR: escapeshellarg(): Input string contains NULL bytes in file: /var/www/html/lib/functions.php on line: 3482 |
Validated...! this is fixed. Thanks for quick look into this issue. |
No worries. Just going to close. Thanks! |
I am noticing below errors in the log file after upgrade.
2018/04/21 14:53:22 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2018/04/21 14:53:22 - ERROR PHP ERROR: escapeshellarg(): Input string contains NULL bytes in file: /var/www/html/lib/functions.php on line: 3482
The text was updated successfully, but these errors were encountered: