Maria Gonzalez Posted November 16, 2017 Share Posted November 16, 2017 Hi, Since this morning my shop is not working....I did not modify anything.... The error is : Shop not found at line 418 in file classes/shop/Shop.php 413. 414. //echo var_dump($default_shop); 415. 416. // Hmm there is something really bad in your Prestashop ! 417. if (!Validate::isLoadedObject($default_shop)) { 418. throw new PrestaShopException('Shop not found'); 419. } 420. 421. $params = $_GET; 422. unset($params['id_shop']); 423. $url = $default_shop->domain; ShopCore::initialize - [line 114 - config/config.inc.php] 109. 110. $context = Context::getContext(); 111. 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) { I removed cache....but nothing changes... The problem I think is at: $shop = new Shop($id_shop); Which creates a null object... any help please? Link to comment Share on other sites More sharing options...
musicmaster Posted November 17, 2017 Share Posted November 17, 2017 Please show the original error message - all lines! They often provide additional information that is needed to understand what is going wrong. What I also miss is distinction between front and back office. Do I understand it wel that the back office is working and only the front office has a problem? Link to comment Share on other sites More sharing options...
Naturel Deluxe Posted August 29, 2018 Share Posted August 29, 2018 @Maria Gonzalez did you solve the problem? Could you be that kind to share the solution, I've the same issue (but our shop is still working properly except on exports) Thanks in advance! Link to comment Share on other sites More sharing options...
Bacninh Land Posted August 29, 2018 Share Posted August 29, 2018 Prestashop need to develop more & more! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now