Fernando-Agrolab Posted July 15, 2014 Share Posted July 15, 2014 I'm having a problem with prestashop tab client (pending) pending when I click the following error appears [PrestaShopException]object Order can't be loadedat line 146 in file controllers/admin/AdminOutstandingController.php 140. $order_invoice = new OrderInvoice($id_invoice);141. if (!Validate::isLoadedObject($order_invoice))142. throw new PrestaShopException('object OrderInvoice can\'t be loaded');143. $order = new Order($order_invoice->id_order);144. if (!Validate::isLoadedObject($order))145. throw new PrestaShopException('object Order can\'t be loaded');146. $customer = new Customer((int)$order->id_customer);147. if (!Validate::isLoadedObject($order_invoice))148. throw new PrestaShopException('object Customer can\'t be loaded');149.150. return '<b>'.$customer->getOutstanding().'</b>'; AdminOutstandingControllerCore->printOutstandingCalculation - [line 297 - classes/helper/HelperList.php] - [2 Arguments] HelperListCore->displayListContent - [line 146 - classes/helper/HelperList.php] - [2 Arguments] HelperListCore->generateList - [line 1630 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->renderList - [line 1502 - classes/controller/AdminController.php] - [2 Arguments] AdminControllerCore->initContent - [line 167 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 53 - painel/index.php] - [0 Argument] Link to comment Share on other sites More sharing options...
Recommended Posts