malokas Posted December 1, 2014 Share Posted December 1, 2014 Hello, since yesterday we have following error when clicking on any shopping carts in the backoffice. I don't know exactly what happend as we did not install/deinstall any modules.The only strange thing was that an order was not successfully transmitted from NOVALNET PayPal. The payment got accepted but no order was created.How this is possible? Any idea? [PrestaShopException]Invalid addressat line 362 in file classes/Address.php 356. if ($id_address)357. {358. $address = new Address((int)$id_address);359.360. if (!Validate::isLoadedObject($address))361. throw new PrestaShopException('Invalid address');362. }363. else364. {365. // set the default address366. $address = new Address(); AddressCore::initialize - [line 687 - override/classes/Cart.php] - [1 Arguments] Cart->getTaxDetails - [line 324 - override/classes/Cart.php] Cart->getOrderTotal - [line 1293 - classes/Cart.php] - [2 Arguments] CartCore::getTotalCart - [line 830 - controllers/admin/AdminCartsController.php] - [3 Arguments] AdminCartsControllerCore->getOrderTotalUsingTaxCalculationMethod - [line - ] - [2 Arguments] call_user_func_array - [line 321 - classes/helper/HelperList.php] - [2 Arguments] Link to comment Share on other sites More sharing options...
malokas Posted December 2, 2014 Author Share Posted December 2, 2014 Noone an idea? Link to comment Share on other sites More sharing options...
malokas Posted December 2, 2014 Author Share Posted December 2, 2014 Got it working by deleting some of the shopping carts.Beeing more specfic: we got a unscuccseful order. It seems there is somwhere a bug but I cant reproduce it. Link to comment Share on other sites More sharing options...
codingowl Posted December 8, 2014 Share Posted December 8, 2014 Hi there We have the same problem. We have also two unsuccessfull orders, where the order were empty. The error message is coming at the backend Link to comment Share on other sites More sharing options...
tuk66 Posted December 8, 2014 Share Posted December 8, 2014 It looks like id_address_* value is wrong or NULL for some cart(s). Can you look at the ps_cart table? Link to comment Share on other sites More sharing options...
codingowl Posted December 9, 2014 Share Posted December 9, 2014 I can check them, what should I look at? This problem has occured after the recent module updates. Link to comment Share on other sites More sharing options...
Recommended Posts