jrodbla Posted August 19, 2016 Share Posted August 19, 2016 hola tengo la version 1.6.1.3 y el tema specialdev225-bootstrap version 1.0 hoy he tenido un problema al entrar a la seccion de carritos de compra [PrestaShopException]Invalid address #142 at line 401 in file classes/Address.php 396. // if an id_address has been specified retrieve the address397. if ($id_address) { 398. $address = new Address((int)$id_address); 399. 400. if (!Validate::isLoadedObject($address)) { 401. throw new PrestaShopException('Invalid address #'.(int)$id_address); 402. } 403. } elseif ($with_geoloc && isset($context->customer->geoloc_id_country)) { 404. $address = new Address(); 405. $address->id_country = (int)$context->customer->geoloc_id_country; 406. $address->id_state = (int)$context->customer->id_state; AddressCore::initialize - [line 197 - classes/tax/Tax.php] - [1 Arguments] TaxCore::getProductEcotaxRate - [line 610 - classes/Cart.php] - [1 Arguments] CartCore->getProducts - [line 3328 - classes/Cart.php] CartCore->isVirtualCart - [line 1464 - classes/Cart.php] CartCore->getOrderTotal - [line 1392 - classes/Cart.php] - [2 Arguments] CartCore::getTotalCart - [line 854 - controllers/admin/AdminCartsController.php] - [3 Arguments] AdminCartsControllerCore->getOrderTotalUsingTaxCalculationMethod - [line - ] - [2 Arguments] call_user_func_array - [line 321 - classes/helper/HelperList.php] - [2 Arguments] HelperListCore->displayListContent - [line 156 - classes/helper/HelperList.php] HelperListCore->generateList - [line 914 - controllers/admin/AdminCartsController.php] - [2 Arguments] AdminCartsControllerCore->renderList - [line 2025 - classes/controller/AdminController.php] AdminControllerCore->initContent - [line 189 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] Agradecería cualquier ayuda. Gracias Link to comment Share on other sites More sharing options...
joseantgv Posted September 4, 2016 Share Posted September 4, 2016 Algún carrito no tiene dirección, la dirección no existe o bien es incorrecta. Deberías acceder a la base de datos para solucionarlo. 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