shop/notfound_404.php:20
templates/default/includes/pages/notfound_404.php:26
Code: Select all
require $Template->map_to_templateCode: Select all
require $Template->mapCode: Select all
PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/xxxx/public_html/shop/includes/apps/ultimate_seo_urls/page_modules/product_info.php on line 108
Code: Select all
$final_text_array = array();
foreach ( $text_array as $key => $text ) {
if ( !is_null( trim( $text ) ) ) {
$final_text_array[$key] = $text;
}
}Code: Select all
$final_text_array = array();
foreach ($text_array as $key => $text) {
// Check if $text is not null and the trimmed value is not an empty string
if ($text !== null && trim($text) !== '') {
$final_text_array[$key] = $text;
}
}Br
Omar