Jump to content

Fatal error: Uncaught exception ... 'Property OrderDetail->product_price is empty'


Recommended Posts

Fatal error: Uncaught exception 'PrestaShopException' with message 'Property OrderDetail->product_price is empty' in /xxx/classes/ObjectModel.php:837 Stack trace:
#0 /xxx/classes/ObjectModel.php(255): ObjectModelCore->validateFields()
#1 /xxx/classes/ObjectModel.php(455): ObjectModelCore->getFields()
#2 /xxx/classes/ObjectModel.php(417): ObjectModelCore->add(true, false)
#3 /xxx/classes/order/OrderDetail.php(589): ObjectModelCore->save()
#4 /xxx/classes/order/OrderDetail.php(613): OrderDetailCore->create(Object(Order), Object(Cart), Array, 2, 0, true, 0)
#5 /xxx/classes/PaymentModule.php(279): OrderDetailCore->createList(Object(Order), Object(Cart), 2, Array, 0, true, 0)
#6 /xxx/classes/ObjectModel.php on line 837

 

I'm getting this message after making a payment and returning to PS. The order is partly updated in the system. It shows the total price, but not what products where purchased.

 

Can anyone shed any light on what's causing this and how it can be fix?

 

PS 1.5.6.0

Link to comment
Share on other sites

  • 1 month later...

Same problem here. Prestashop 1.5.6.2, payment module Redsys.

 

It has happened only once, with this error_log:

 

"PHP Fatal error:  Uncaught exception 'PrestaShopException' with message 'Can't save Order Payment' in ../classes/PaymentModule.php:311"

 

The order is saved, but products are not.

 

We have not modified/updated any file on this installation recently, it just happened for no apparent reason.

 

I've seen in other posts that other people is experiencing similar problems. Can anyone help?

 

Thanks :)

Link to comment
Share on other sites

×
×
  • Create New...