PHP warning on settings page
-
Plugin is generating PHP warning:
implode(): Invalid arguments passed /sucuri-scanner/src/base.lib.php:890Adding a simple check would fix it:
Current:return implode($separator, $list);
Proposed:return implode($separator, is_array($list) ? $list : array());Although it would be better if you could investigate why
$listisn’t an array at first place
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘PHP warning on settings page’ is closed to new replies.