giulialink Posted April 2, 2015 Share Posted April 2, 2015 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 / validationor module / backwire / validation This is the error: Property OrderHistory->id_order_state is emptyat 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 emptyif 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 More sharing options...
bellini13 Posted April 2, 2015 Share Posted April 2, 2015 what is the module named "pd_paypal"? Where did you get this from and did you confirm with this author that is works with the version of Prestashop you upgraded to. (usually helps to tell us that...) Link to comment Share on other sites More sharing options...
giulialink Posted April 2, 2015 Author Share Posted April 2, 2015 Hi, TKS for reply. Yes it's work, it is for 1.6 Prestashop. But if i delete the module the problem doesn't resolve. The problem is on all the payment. Link to comment Share on other sites More sharing options...
bellini13 Posted April 2, 2015 Share Posted April 2, 2015 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 More sharing options...
giulialink Posted April 3, 2015 Author Share Posted April 3, 2015 I did the same operation on a local version of my site and all work well. I replace on online version the four ps_configuration table and it's work. Is there same record who can depend the all payment type? 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