Jump to content

Errro on install theme


KenFranklin

Recommended Posts


Duplicate entry '17-8-1' for key 'PRIMARY'


739. if ($webservice_call && $errno) {

740. $dbg = debug_backtrace();

741. WebserviceRequest::getInstance()->setError(500, '

 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);

742. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {

743. if ($sql) {

744. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');

745. }

746.

747. throw new PrestaShopDatabaseException($this->getMsgError());

748. }

749. }

DbCore->displayError - [line 378 - classes/db/Db.php] - [1 Arguments]

DbCore->query - [line 716 - classes/db/Db.php] - [1 Arguments]

DbCore->q - [line 467 - classes/db/Db.php] - [2 Arguments]

DbCore->insert - [line 162 - src/Core/Module/HookRepository.php] - [2 Arguments]

PrestaShop\PrestaShop\Core\Module\HookRepository->persistHooksConfiguration - [line 100 - src/Core/Module/HookConfigurator.php] - [1 Arguments]

PrestaShop\PrestaShop\Core\Module\HookConfigurator->setHooksConfiguration - [line 284 - src/Core/Addon/Theme/ThemeManager.php] - [1 Arguments]

PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager->doHookModules - [line 170 - src/Core/Addon/Theme/ThemeManager.php] - [1 Arguments]

PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager->enable - [line 269 - controllers/admin/AdminThemesController.php] - [1 Arguments]

AdminThemesControllerCore->postProcess - [line 190 - classes/controller/Controller.php]

ControllerCore->run - [line 366 - classes/Dispatcher.php]

DispatcherCore->dispatch - [line 95 - admintemplate/index.php]

how to solve a problem?

 

 

Link to comment
Share on other sites

  • 1 year later...

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...