leste Posted June 12, 2014 Share Posted June 12, 2014 Hello à tous J'ai une erreur récurrente dans le BO, quelqu'un aurait il une idée de la cause Elle se produit en accès commande dans le back office, une commande qui ne pose pas de problème apparent ! Merci de votre aides [PrestaShopException] Cannot load Order object at line 141 in file controllers/admin/AdminOrdersController.php 135. if (Tools::isSubmit('id_order')) 136. { 137. // Save context (in order to apply cart rule) 138. $order = new Order((int)Tools::getValue('id_order')); 139. if (!Validate::isLoadedObject($order)) 140. throw new PrestaShopException('Cannot load Order object'); 141. $this->context->cart = new Cart($order->id_cart); 142. $this->context->customer = new Customer($order->id_customer); 143. } 144. 145. parent::__construct(); • AdminOrdersControllerCore->__construct - [line 128 - classes/controller/Controller.php] - [2 Arguments] • ControllerCore::getController - [line 207 - override/classes/Dispatcher.php] - [1 Arguments] • Dispatcher->dispatch_15 - [line 80 - override/classes/Dispatcher.php] - [0 Argument] • Dispatcher->dispatch - [line 53 - boutique/index.php] - [0 Argument] 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