PHP warning
-
Hi guys,
Thank you for this great plugin!
After recent plugin update (or some of the recent plugin update) v6.9.0 I’ve noticed a PHP warning in my site:
PHP Warning: rtrim() expects parameter 1 to be string, array given in ../wp-includes/formatting.php on line 2415
I was able to trace this to cron job set by your plugin, specifically to
ITSEC_File_Change_Scanner::execute_file_check()
method inbetter-wp-security/core/modules/file-change/scanner.php
file on line119
. I think the problem is actually some lines before, where you set the$dirs
array. There is a call forITSEC_Core::get_wp_upload_dir()
within the array on line106
which output array, instead of expected string, I think.Could you please have a look into this issue and fix in next plugin release?
Thanks and regards,
Oliver
- The topic ‘PHP warning’ is closed to new replies.