Jump to content

Prestashop 1.6.1.7 - Current theme unselected. Please check your theme configuration.


Pablo

Recommended Posts

Hey guys,

I have this issue after i want to change my default themes 

Current theme unselected. Please check your theme configuration.
at line 117 in file config/config.inc.php

Any help Please? :(

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);
Link to comment
Share on other sites

  • 2 weeks later...
On 12/22/2017 at 7:53 PM, bellini13 said:

Do you want to provide some context as to what you did that lead you to receive this error?  Did you perform an upgrade? Did you try to delete your existing theme?  Add a new theme? 

Hi, Sorry for late reply

i was trying to add a new theme and still got this issue until now and no idea how to fix this

 

image.thumb.png.f57ff7bc0e94e210f4e9565bf2c4db27.png

Edited by Pablo (see edit history)
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...