Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2024-12-05-297247' for key 'PRIMARY' in /home/medgorodok.ru/cms/library/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/medgorodok.ru/cms/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/medgorodok.ru/cms/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/medgorodok.ru/cms/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /home/medgorodok.ru/cms/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('insert into med...', Array)
#4 /home/medgorodok.ru/cms/inc/auto/statistic.inc(55): Zend_Db_Adapter_Pdo_Abstract->query('insert into med...')
#5 /home/medgorodok.ru/cms/inc/auto/drugs.inc(67): gather_drug_stat('297247')
#6 /home/medgorodok.ru/html/index.php(159): drugs_show('297247')
#7 {main}
Next Zend_Db_Statement_Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2024-1 in /home/medgorodok.ru/cms/library/Zend/Db/Statement/Pdo.php on line 234