Исключение / ошибка (DBException)

Основные сведения

Текст ошибки:

Duplicate entry '7df94708018ec726e302ce932f2183ab' for key 'cachekey_idx' / INSERT INTO `production_products_custompricecache` SET `cachekey`='7df94708018ec726e302ce932f2183ab', `cachevalue`='16073', `createdate`='2024-11-21 18:21:10', `productid`='8', `configuration`='array (\n \'width\' => \'90\',\n \'height\' => \'50\',\n \'amount\' => 20000,\n \'processgroups\' => \n array (\n \'groupm_print\' => \n array (\n \'enabled\' => true,\n \'processid\' => 126,\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n ),\n ),\n \'title\' => \'\',\n \'pricetype\' => 1,\n \'urgencytype\' => 0,\n \'additionalmargin\' => 0,\n \'client_title\' => \'Визитки (офсетная печать)\',\n \'description\' => \'\',\n \'processes\' => \n array (\n \'groupm_laminat\' => \n array (\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n \'processid\' => \'125\',\n \'enabled\' => false,\n ),\n \'groupm_drill\' => \n array (\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n \'processid\' => \'122\',\n \'enabled\' => false,\n ),\n \'groupm_round\' => \n array (\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n \'processid\' => \'123\',\n \'enabled\' => false,\n ),\n ),\n)' / Duplicate entry '7df94708018ec726e302ce932f2183ab' for key 'cachekey_idx'

Файл:

/var/www/printdesign.ru/data/www/core/common/db/db.class.php (167)

Часть кода:
#0 /var/www/printdesign.ru/data/www/core/common/db/dbabstraction.class.php(348): Common\DB\DB->insert('base', 'INSERT INTO `pr...')
#1 /var/www/printdesign.ru/data/www/base.printsource.ru/models/production/mproductionproduct.class.php(205): Common\DB\DBAbstraction->insert('base', 'production_prod...', Array)
#2 /var/www/printdesign.ru/data/www/base.printsource.ru/models/production/customproducts/mproductionproductgroupm.class.php(25): MProductionProduct->saveCustomPriceToCache(16073)
#3 /var/www/printdesign.ru/data/www/printdesign.ru/mastercalculaters/mclcvizitka.class.php(152): MProductionProductGroupM->calculate()
#4 /var/www/printdesign.ru/data/www/printdesign.ru/widgetcontrollers/commerce/wmastercalculater.class.php(141): MCLCVizitka->calculate()
#5 /var/www/printdesign.ru/data/www/printdesign.ru/widgetcontrollers/common/wheader.class.php(119): WMasterCalculater->render()
#6 /var/www/printdesign.ru/data/www/core/common/pagecontroller.class.php(234): WHeader->render()
#7 /var/www/printdesign.ru/data/www/printdesign.ru/index.php(33): Common\PageController->render()
#8 {main}