Jump to content

Products disappear in old orders.


Recommended Posts

Hi,

 

i upgrade to presta 1.5.6.2 from 1.4.9.

My new orders don't have the numbers like 0001, 0002, .... .

Now it's BUGDHJ, HJHDGJ, .....

My big problem is, with the old orders, all products list in orders are disappear, it's an empty orders, only with the Total of order.

How can i resolve this?

 

Thank you.

Link to comment
Share on other sites

Now when i looked in my clients history, i search what products bought in the past, and i found some products without name.

When i click on it to see it, i get this error.

 

[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();
Link to comment
Share on other sites

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...