Eutanasio Posted August 4, 2017 Share Posted August 4, 2017 Buenas, Me sale un error de la muerte cuando intento abrir la ficha de clientes que tienen paneles con aparentemente direcciones vacías. Adjunto error: [PrestaShopException]Invalid address #6208at 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 3324 - classes/Cart.php] CartCore->isVirtualCart - [line 1464 - classes/Cart.php] CartCore->getOrderTotal - [line 3119 - classes/Cart.php] - [1 Arguments] CartCore->getSummaryDetails - [line 107 - override/controllers/admin/AdminCustomersController.php] AdminCustomersController->renderView - [line 2016 - classes/controller/AdminController.php] AdminControllerCore->initContent - [line 209 - controllers/admin/AdminCustomersController.php] AdminCustomersControllerCore->initContent - [line 189 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] @Vekia sugiere en ESTE POST esta solución: SELECT * FROM ps_cart AS c LEFT JOIN ps_address AS a ON c.id_address_delivery = a.id_address WHERE a.id_address IS NULL pero al ejecutarla en MySQL +400 entradas que al parecer no puedo eliminar ya que me da este mensaje: La selección actual no contiene una columna única. La edición de la grilla y los enlaces de copiado, eliminación y edición no están disponibles. Alguien sabe cómo se soluciona esto? GRACIAS! 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