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 |
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 |
Line | File | Class | Function |
122 | /home/osgigantes/www/view/front/themes/modern/product.tpl.php | Validator | cleanOut |
48 | /home/osgigantes/www/lib/View.php | include_once | |
294 | /home/osgigantes/www/index.php | View | render |
201 | /home/osgigantes/www/lib/Router.php | {closure} | |
284 | /home/osgigantes/www/index.php | Router | run |