pierromanu Posted April 26, 2020 Share Posted April 26, 2020 Hi, When I try to access to cart menu, I get 500 Server Error. Any ideas? Best Regards, Link to comment Share on other sites More sharing options...
pierromanu Posted April 26, 2020 Author Share Posted April 26, 2020 FYI, I have enabled debug mode and I get the following: [PrestaShopException] Invalid address #95 at line 444 in file classes/Address.php 439. // if an id_address has been specified retrieve the address 440. if ($id_address) { 441. $address = new Address((int)$id_address); 442. 443. if (!Validate::isLoadedObject($address)) { 444. throw new PrestaShopException('Invalid address #'.(int)$id_address); 445. } 446. } elseif ($with_geoloc && isset($context->customer->geoloc_id_country)) { 447. $address = new Address(); 448. $address->id_country = (int)$context->customer->geoloc_id_country; 449. $address->id_state = (int)$context->customer->id_state; AddressCore::initialize - [line 197 - classes/tax/Tax.php] - [1 Arguments] TaxCore::getProductEcotaxRate - [line 767 - classes/Cart.php] - [1 Arguments] CartCore->getProducts - [line 1866 - classes/Cart.php] CartCore->getOrderTotal - [line 1782 - classes/Cart.php] - [2 Arguments] CartCore::getTotalCart - [line 869 - controllers/admin/AdminCartsController.php] - [3 Arguments] AdminCartsControllerCore->getOrderTotalUsingTaxCalculationMethod - [line 335 - classes/helper/HelperList.php] - [2 Arguments] HelperListCore->displayListContent - [line 164 - classes/helper/HelperList.php] HelperListCore->generateList - [line 929 - controllers/admin/AdminCartsController.php] - [2 Arguments] AdminCartsControllerCore->renderList - [line 2082 - classes/controller/AdminController.php] AdminControllerCore->initContent - [line 255 - classes/controller/Controller.php] ControllerCore->run - [line 428 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 99 - admin/index.php] Link to comment Share on other sites More sharing options...
pierromanu Posted April 26, 2020 Author Share Posted April 26, 2020 well, I have fixed it myself following https://github.com/PrestaShop/PrestaShop/issues/9782😉 Cheers 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