Deprecated: trim(): Passing null to parameter #1
-
[21-Jun-2024 15:40:06 UTC] PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/webiste/public_html/wp-content/plugins/simple-lightbox/includes/class.utilities.php on line 546
To fix this replace
$obj = trim( $obj, $sep);
with
if (is_null ($obj)) {
$obj = '';
}
$obj = trim( $obj, $sep);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Deprecated: trim(): Passing null to parameter #1’ is closed to new replies.