12.11.2026 06:28
Произошла ошибка с кодом 8192 deprecated!
Файл: /home/a/alexkriz/domportretov.ru/public_html/include/common-utf8/class/db.php, строка 268.


267: */


268: static function Sum($tbl, $where='', $field){


269: $c=mysqli_fetch_assoc(self::sql('SELECT SUM('.$field.') as c FROM `'.self::$db_prefix.$tbl.'`'.($where?' WHERE '.$where:'')));
Запрос: /stili-portretov/art-portret.
Текст ошибки: DB::Sum(): Optional parameter $where declared before required parameter $field is implicitly treated as a required parameter