Warning: foreach() argument must be of type array|object, bool given in /home/gobuildco/cb-dev1-1.gobuild.co.za/classes/shop/Shop.php on line 364

Warning: Cannot modify header information - headers already sent by (output started at /home/gobuildco/cb-dev1-1.gobuild.co.za/classes/shop/Shop.php:364) in /home/gobuildco/cb-dev1-1.gobuild.co.za/classes/exception/PrestaShopException.php on line 41

[PrestaShopException]

Shop not found
at line 438 in file classes/shop/Shop.php

433.                 // No shop found ... too bad, let's redirect to default shop
434.                 $default_shop = new Shop((int) Configuration::get('PS_SHOP_DEFAULT'));
435. 
436.                 // Hmm there is something really bad in your Prestashop !
437.                 if (!Validate::isLoadedObject($default_shop)) {
438.                     throw new PrestaShopException('Shop not found');
439.                 }
440. 
441.                 $params = $_GET;
442.                 unset($params['id_shop']);
443.                 $url = $default_shop->domain;