Jump to content

Problema Clienti in sospeso


Recommended Posts

Ciao a tutti ho un problema con Prestashop .

Cliccando nel menu del BO Clienti e poi selezionando l'ultima voce In sospeso mi appare la pagina di errore.

Qualcuno ha avuto lo stesso problema e come risolverlo?


Vi posto l'errore.








object Order can't be loaded

at 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');


150. return '<b>'.$customer->getOutstanding().'</b>';

Share this post

Link to post
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More