Hi. After the upgrade to the latest version I get this error: [PrestaShopException] Current theme unselected. Please check your theme configuration. at line 117 in file config/config.inc.php 112. /* Initialize the current Shop */ 113. try { 114. $context->shop = Shop::initialize(); 115. $context->theme = new Theme((int)$context->shop->id_theme); 116. if ((Tools::isEmpty($theme_name = $context->shop->getTheme()) || !Validate::isLoadedObject($context->theme)) && !defined('_PS_ADMIN_DIR_')) { 117. throw new PrestaShopException(Tools::displayError('Current theme unselected. Please check your theme configuration.')); 118. } 119. } catch (PrestaShopException $e) { 120. $e->displayMessage(); 121. } 122. define('_THEME_NAME_', $theme_name);
require - [line 27 - index.php] 22. * @copyright 2007-2016 PrestaShop SA 23. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); 28. Dispatcher::getInstance()->dispatch(); If I change the Theme to default-bootstrap I get this error:
Duplicate entry '28-0-1' for key 'PRIMARY' INSERT INTO `prstshp_hook_module` (`id_module`, `id_shop`, `id_hook`, `position`)
VALUES (28, 1, 0, 1)
Can someone help me out here?
Thanks,
João Morais