#0 Db::query( INSERT INTO `viewers` ( `key`, `date`, `id_user`, `ip` ) VALUES ( ?s, NOW(), ?d, ?s ) , Array ([0] => 05985c88ffdb76288a6f7f89aa0dfa1a,[1] => ,[2] => 127.0.0.1), ) called at [/home/kalyan4you.ru/public_html/www/kernel/User.php:99] #1 User->__construct() called at [/home/kalyan4you.ru/public_html/www/index.php:174]
MySQL mini debug
MySQL query error in file /home/kalyan4you.ru/public_html/www/kernel/User.php:99.
MySQL error (#1062): Duplicate entry '05985c88ffdb76288a6f7f89aa0dfa1a' for key 'key'
Callstack:

INSERT INTO `viewers` ( `key`, `date`, `id_user`, `ip` ) VALUES ( "05985c88ffdb76288a6f7f89aa0dfa1a", NOW(), 0, "127.0.0.1" ) #0 Db::query( INSERT INTO `viewers` ( `key`, `date`, `id_user`, `ip` ) VALUES ( ?s, NOW(), ?d, ?s ) , Array ([0] => 05985c88ffdb76288a6f7f89aa0dfa1a,[1] => ,[2] => 127.0.0.1), ) called at [/home/kalyan4you.ru/public_html/www/kernel/User.php:99] #1 User->__construct() called at [/home/kalyan4you.ru/public_html/www/index.php:174]