Jump to content

500 Server Error After change themes in back office


Recommended Posts

51 minutes ago, joseantgv said:

 

Hey thanks for that, now i have this issue and i dont know how fix this

 

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

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More