AFemaleProdigy Posted November 23, 2013 Share Posted November 23, 2013 I recently moved from a shared hosting account to a VPS. PS 1.4.7.3. I am trying to pinpoint what may have gone wrong that is causing this issue. The store appears to be running ok, except for this one issue. I only use PayPal to process payments. Some orders are processed just fine with no problems. But occasionally, a customer places an order, makes their payment, and then an error occurs. Payment and order details show up in PayPal. Order slip is created for the customer in PS and the order can be seen from the customer's profile. Order overview does not show any information about what products were ordered, but does show the amount of the order. The order status is not being set. The order doesn't show up on the orders tab in the list of total orders. If I look up the customer name, I can see the order there with an error message. Error reporting shows some problem pertaining to the order state. $currentState Trying to get property of non-object in /tabs/AdminOrders.php on line 517 Notice: Trying to get property of non-object in /tabs/AdminOrders.php on line 520 Trying to get property of non-object in /tabs/AdminOrders.php on line 620 Trying to get property of non-object in /tabs/AdminOrders.php on line 635 Notice: Undefined index: order_state in /tabs/AdminCustomers.php on line 509 If I set the order status from nothing to "payment accepted", it saves the change with no problem. But there is still no product information. I checked ps_order_status table to make sure there were no empty fields or anything missing. It looks to be ok. The orders with errors are missing an entry for the order in ps_order_history. When looking at orders that appear normal, there are no errors generated. This started after the server change. Some orders process normally and some do not. Any ideas? Thanks! Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted December 14, 2013 Author Share Posted December 14, 2013 Can I get some help with this one? Link to comment Share on other sites More sharing options...
amorpheous Posted June 19, 2014 Share Posted June 19, 2014 I have the exact same problem. My current guess is that it started happening since i applied SSL but i am not sure. Did you get a solution to this? Thanks. Link to comment Share on other sites More sharing options...
amorpheous Posted July 1, 2014 Share Posted July 1, 2014 Incase anyone is wondering, for us it turned out to be a server performance problem. If someone ordered while the database was under load, it would cause missing status and products in the order. Cheers. Link to comment Share on other sites More sharing options...
71newyorker Posted February 3, 2015 Share Posted February 3, 2015 (edited) Im still looking into this but for us we have a POSSIBLE potential fix for this problem. We're on prestashop 1.6.0.11 but could work on other versions? 1) Localization > countries > the section ''address format'' change to use 'default format' For this to work properly, you might need to go to: localization > localization and make sure you have imported your countries localization pack. 2) after upgrading prestashop and changing hosting companies we noticed a few settings had changed. We also had to go to localization > states > input the ISO code for each state (you can get them from wikipedia) After we did these two changes things seemed to work much better. NOTE: im not a developer or programmer and both of the above might have been completely irrelevant to fixing the problem, but they seemed to have helped for us. Edited February 3, 2015 by kayb100 (see edit history) 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