Shop not found
at line 418 in file classes/shop/Shop.php
413. // No shop found ... too bad, let's redirect to default shop
414. $default_shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));
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;
115.
116. $context = Context::getContext();
117.
118. /* Initialize the current Shop */
119. try {
120. $context->shop = Shop::initialize();
121. } catch (PrestaShopException $e) {
122. $e->displayMessage();
123. }
124. define('_THEME_NAME_', $context->shop->theme->getName());
125. define('_PARENT_THEME_NAME_', $context->shop->theme->get('parent') ?: '');
22. * @copyright 2007-2017 PrestaShop SA
23. * @license https://opensource.org/licenses/OSL-3.0 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();
Argument [0] /var/www/varpix/public_html/config/config.inc.php