Jump to content

Error payment modules Property OrderHistory- > id_order_state is empty


Recommended Posts

Hi,

I used one click upgrade .

 I have several errors , one in particular , when I try to buy a product not available sends me to page module / postpaid / validation

or module / backwire / validation

 

This is the error:

 

Property OrderHistory->id_order_state is empty
at line 872 in file classes/ObjectModel.php

 

For pay pal:

Uncaught exception 'PrestaShopException' with message 'Property OrderHistory->id_order_state is empty' in /home/test/public_html/classes/ObjectModel.php:872 Stack trace: #0 /home/test/public_html/classes/ObjectModel.php(278): ObjectModelCore->validateFields() #1 /home/test/public_html/classes/ObjectModel.php(486): ObjectModelCore->getFields() #2 /home/test/public_html/classes/order/OrderHistory.php(454): ObjectModelCore->add(true) #3 /home/test/public_html/classes/order/OrderHistory.php(380): OrderHistoryCore->add(true) #4 /home/test/public_html/classes/PaymentModule.php(676): OrderHistoryCore->addWithemail() #5 /home/test/public_html/modules/pd_paypal/pd_paypal.php(1328): PaymentModuleCore->validateOrder(64284, 2, 315, 'PD PayPal + Tas...', 'Payment accepte...', Array, 1, false, 'ddae3127ff98096...', Object(Shop)) #6 /home/test/public_html/modules/pd_paypal/express_checkout/payment.php(268): PD_PayPal->validateOrder(64284, 2, 315, 'PD PayPal + Tas...', 'Payment accepte...', Array, 1, false, 'ddae3127ff98096. in /home/test/public_html/classes/ObjectModel.php on line 872

 

 

Whatever the method of payment gives me this error : Property OrderHistory- > id_order_state is empty

if the product is not available .
 
For products available there aren't any problem.

The tables of the orders state is correct. I compared it with a new installation . And I have tried several times to disisinstaller and reinstall the modules payment.

 

If I disable the inventory management works correctly .

Link to comment
Share on other sites

stick to answering the questions.  what version of prestahop? 1.6 is not the answer i am looking for.

 

also, show me the error you get when using bankwire, forget using a custom payment module for the time being.

 

lastly, confirm if you have any overrides installed, or any other custom modules installed. in fact, disable both overrides and non-ps modules in the performance page of the back office and try the test again

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