MclPrimo Posted March 22, 2014 Share Posted March 22, 2014 Quand je clic sur "encours autorisés" dans l'onglet "client" du back office, cela me donne : [PrestaShopException]object Order can't be loadedat line 139 in file controllers/admin/AdminOutstandingController.php 133. $order_invoice = new OrderInvoice($id_invoice);134. if (!Validate::isLoadedObject($order_invoice))135. throw new PrestaShopException('object OrderInvoice can\'t be loaded');136. $order = new Order($order_invoice->id_order);137. if (!Validate::isLoadedObject($order))138. throw new PrestaShopException('object Order can\'t be loaded');139. $customer = new Customer((int)$order->id_customer);140. if (!Validate::isLoadedObject($order_invoice))141. throw new PrestaShopException('object Customer can\'t be loaded');142.143. return '<b>'.Tools::displayPrice($customer->getOutstanding(), Context::getContext()->currency).'</b>'; AdminOutstandingControllerCore->printOutstandingCalculation - [line - ] - [2 Arguments] call_user_func_array - [line 307 - classes/helper/HelperList.php] - [2 Arguments] HelperListCore->displayListContent - [line 150 - classes/helper/HelperList.php] HelperListCore->generateList - [line 1967 - classes/controller/AdminController.php] - [2 Arguments] AdminControllerCore->renderList - [line 1755 - classes/controller/AdminController.php] AdminControllerCore->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] D'autres personnes dans mon cas??? Link to comment Share on other sites More sharing options...
Faustin Posted April 25, 2014 Share Posted April 25, 2014 Je le même problème [PrestaShopException]object Order can't be loadedat line 139 in file controllers/admin/AdminOutstandingController.php 133. $order_invoice = new OrderInvoice($id_invoice);134. if (!Validate::isLoadedObject($order_invoice))135. throw new PrestaShopException('object OrderInvoice can\'t be loaded');136. $order = new Order($order_invoice->id_order);137. if (!Validate::isLoadedObject($order))138. throw new PrestaShopException('object Order can\'t be loaded');139. $customer = new Customer((int)$order->id_customer);140. if (!Validate::isLoadedObject($order_invoice))141. throw new PrestaShopException('object Customer can\'t be loaded');142.143. return '<b>'.Tools::displayPrice($customer->getOutstanding(), Context::getContext()->currency).'</b>'; AdminOutstandingControllerCore->printOutstandingCalculation - [line - ] - [2 Arguments] call_user_func_array - [line 307 - classes/helper/HelperList.php] - [2 Arguments] HelperListCore->displayListContent - [line 150 - classes/helper/HelperList.php] HelperListCore->generateList - [line 1980 - classes/controller/AdminController.php] - [2 Arguments] AdminControllerCore->renderList - [line 1759 - classes/controller/AdminController.php] AdminControllerCore->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] Link to comment Share on other sites More sharing options...
camereroloco Posted July 3, 2014 Share Posted July 3, 2014 Salut ! Même probléme sous presta 1.6 ! Vous avez probablement supprimé des commandes non ? j'ai résolue mon probléme en supprimant les lignes de la table "#_order_invoice" qui faisait références a des commandes supprimé. La fonction de suppression des commandes est bugé (incomplète), j'ai pas la fois de faire remonter l'info "plus haut".. 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