Entrekekos Posted November 9, 2016 Share Posted November 9, 2016 Buenas tardes, a ver si alguien me puede ayudar. Intente modificar unos datos de clientes porque venian en lenguaje ruso y en la factura correspondiente en vez del nombre salian ?????, y ahora me sale esto, tanto cuando intento entrar en los datos de la cliente en cuestion, como si quiero consultar carritos activos o abandonados: [PrestaShopException]Invalid address #29at line 401 in file core/www/core_1.6.1.3/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 - core/www/core_1.6.1.3/classes/tax/Tax.php] - [1 Arguments]192. * @param id_address193. * @return float $tax_rate194. */195. public static function getProductEcotaxRate($id_address = null)196. {197. $address = Address::initialize($id_address);198.199. $tax_manager = TaxManagerFactory::getManager($address, (int)Configuration::get('PS_ECOTAX_TAX_RULES_GROUP_ID'));200. $tax_calculator = $tax_manager->getTaxCalculator();201.202. return $tax_calculator->getTotalRate(); TaxCore::getProductEcotaxRate - [line 610 - core/www/core_1.6.1.3/classes/Cart.php] - [1 Arguments] CartCore->getProducts - [line 1494 - core/www/core_1.6.1.3/classes/Cart.php] CartCore->getOrderTotal - [line 1392 - core/www/core_1.6.1.3/classes/Cart.php] - [2 Arguments] CartCore::getTotalCart - [line 854 - core/www/core_1.6.1.3/controllers/admin/AdminCartsController.php] - [3 Arguments] AdminCartsControllerCore->getOrderTotalUsingTaxCalculationMethod - [line - ] - [2 Arguments] call_user_func_array - [line 321 - core/www/core_1.6.1.3/classes/helper/HelperList.php] - [2 Arguments] HelperListCore->displayListContent - [line 156 - core/www/core_1.6.1.3/classes/helper/HelperList.php] HelperListCore->generateList - [line 914 - core/www/core_1.6.1.3/controllers/admin/AdminCartsController.php] - [2 Arguments] AdminCartsControllerCore->renderList - [line 2025 - core/www/core_1.6.1.3/classes/controller/AdminController.php] AdminControllerCore->initContent - [line 37 - home/pfr3167119/www/ftp/override/classes/controller/AdminController.php] AdminController->initContent - [line 189 - core/www/core_1.6.1.3/classes/controller/Controller.php] ControllerCore->run - [line 367 - core/www/core_1.6.1.3/classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - core/www/core_1.6.1.3/admin/index.php] include_once - [line 100 - core/www/index.php] - [1 Arguments] include_once - [line 26 - home/pfr3167119/www/admin/index.php] - [1 Arguments] Alguien podría ayudarme? Link to comment Share on other sites More sharing options...
w3bsolutions Posted November 10, 2016 Share Posted November 10, 2016 La dirección con id 29 tiene algún campo incorrecto (que no se valida correctamente), si no me equivoco es el campo del "id de estado" (provincia). Igual la provincia a la que referencia ya no existe en la base de datos? Para solucionarlo tendrías que acceder a la base de datos directamente, a la tabla [prefijo]_address , buscar la que tenga el id 29 y poner un 0 en el campo "id_state". Confirma por favor si esto lo soluciona. Saludos! Link to comment Share on other sites More sharing options...
Entrekekos Posted November 10, 2016 Author Share Posted November 10, 2016 Estoy en prestashop cloud Link to comment Share on other sites More sharing options...
w3bsolutions Posted November 10, 2016 Share Posted November 10, 2016 Ok, ese es un detalle importante que no estaba mencionado. En ese caso creo que no hay acceso directo a la base de datos, habría que contactar con PS a ver si lo pueden resolver. 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