Jump to content

SQLSTATE[23000]: Integrity constraint violation: 1062


SeizeTheDay

Recommended Posts

Hello, I cannot access the website http://www.orangebeluga.com/tr/

I am getting the following error codes:

Quote

[PrestaShopException]

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '77-985-1' for key 'PRIMARY'
at line 151 in file classes/db/DbPDO.php

146. protected function _query($sql) 147. { 148. try { 149. return $this->link->query($sql); 150. } catch (\PDOException $exception) { 151. throw new PrestaShopException($exception->getMessage(), (int) $exception->getCode(), $exception); 152. } 153. } 154. 155. /** 156. * Returns the next row from the result set.

DbPDOCore->_query - [line 377 - classes/db/Db.php]

DbCore->query - [line 102 - tools/profiling/Db.php]

Db->query - [line 744 - classes/db/Db.php]

DbCore->q - [line 477 - classes/db/Db.php]

DbCore->insert - [line 619 - classes/Hook.php]

HookCore::registerHook - [line 1061 - classes/module/Module.php]

ModuleCore->registerHook - [line 32 - modules/roy_elements/roy_elements.php]

Roy_Elements->__construct - [line - ]

ReflectionClass->newInstance - [line 123 - src/Core/Foundation/IoC/Container.php]

PrestaShop\PrestaShop\Core\Foundation\IoC\Container->makeInstanceFromClassName - [line 153 - src/Core/Foundation/IoC/Container.php]

PrestaShop\PrestaShop\Core\Foundation\IoC\Container->doMake - [line 166 - src/Core/Foundation/IoC/Container.php]

PrestaShop\PrestaShop\Core\Foundation\IoC\Container->make - [line 70 - src/Adapter/ServiceLocator.php]

PrestaShop\PrestaShop\Adapter\ServiceLocator::get - [line 1235 - classes/module/Module.php]

ModuleCore::coreLoadModule - [line 35 - tools/profiling/Module.php]

Module::coreLoadModule - [line 1214 - classes/module/Module.php]

ModuleCore::getInstanceByName - [line 966 - classes/Hook.php]

HookCore::exec - [line 615 - classes/controller/FrontController.php]

FrontControllerCore->initContent - [line 38 - controllers/front/IndexController.php]

IndexControllerCore->initContent - [line 60 - tools/profiling/Controller.php]

Controller->run - [line 510 - classes/Dispatcher.php]

DispatcherCore->dispatch - [line 28 - index.php]

What should I do? I ask for your help. Thanks.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...