Notice: Undefined index: id_theme in /home/laterrad/public_html/classes/shop/Shop.php on line 680

Warning: Cannot modify header information - headers already sent by (output started at /home/laterrad/public_html/classes/shop/Shop.php:680) in /home/laterrad/public_html/classes/exception/PrestaShopException.php on line 37

[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);