TypeError /home/osgigantes/www/lib/Validator.php : 868

Validator::cleanOut(): Argument #1 ($data) must be of type string, null given, called in /home/osgigantes/www/view/front/themes/modern/product.tpl.php on line 122

Extra info

https://lojabolasorocaba.osgigantes.com.br/product/temp-product

Code /home/osgigantes/www/lib/Validator.php:868

                  
  
858 $string = mb_substr($string, 0, mb_strlen($string) - 3);
859 return trim(preg_replace('/ .{1,3}$/', '', $string)) . '...';
860 }
861
862 /**
863 * cleanOut
864 *
865 * @param string $data
866 * @return string
867 */
868 public static function cleanOut(string $data = ''): string
869 {
870
871 $data = strtr($data ?? '', array('\r\n' => '', '\r' => '', '\n' => ''));
872 $data = html_entity_decode($data, ENT_QUOTES | ENT_HTML5, 'UTF-8');
873 return stripslashes(trim($data));
874 }
875
876 /**
877 * arrayClean
  

Trace

Line File Class Function
122/home/osgigantes/www/view/front/themes/modern/product.tpl.phpValidatorcleanOut
48/home/osgigantes/www/lib/View.phpinclude_once
294/home/osgigantes/www/index.phpViewrender
201/home/osgigantes/www/lib/Router.php{closure}
284/home/osgigantes/www/index.phpRouterrun