1075147_1508431223 Posted September 24, 2018 Share Posted September 24, 2018 (edited) Hola, tengo un "error 500" cuando las personas intentan llenar el formulario del envió de un producto. modificando para ver directamente el error es este: Como podría dar solución a este error ? [PrestaShopException] La propiedad Address->id_country está vacía.at line 954 in file classes/ObjectModel.php 949. } 950. 951. $message = $this->validateField($field, $this->$field); 952. if ($message !== true) { 953. if ($die) { 954. throw new PrestaShopException($message); 955. } 956. return $error_return ? $message : false; 957. } 958. } 959. ObjectModelCore->validateFields - [line 272 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 529 - classes/ObjectModel.php] ObjectModelCore->add - [line 174 - classes/Address.php] - [2 Arguments] AddressCore->add - [line 487 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 76 - classes/form/CustomerAddressPersister.php] CustomerAddressPersisterCore->save - [line 157 - classes/form/CustomerAddressForm.php] - [2 Arguments] CustomerAddressFormCore->submit - [line 111 - classes/checkout/CheckoutAddressesStep.php] CheckoutAddressesStepCore->handleRequest - [line 61 - classes/checkout/CheckoutProcess.php] - [1 Arguments] CheckoutProcessCore->handleRequest - [line 262 - controllers/front/OrderController.php] - [1 Arguments] OrderControllerCore->initContent - [line 255 - classes/controller/Controller.php] ControllerCore->run - [line 428 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Edited September 24, 2018 by 1075147_1508431223 SOLUCIONADO (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted September 24, 2018 Share Posted September 24, 2018 hace 1 minuto, 1075147_1508431223 dijo: Hola, tengo un "error 500" cuando las personas intentan llenar el formulario del envió de un producto. modificando para ver directamente el error es este: Como podría dar solución a este error ? [PrestaShopException] La propiedad Address->id_country está vacía.at line 954 in file classes/ObjectModel.php 949. } 950. 951. $message = $this->validateField($field, $this->$field); 952. if ($message !== true) { 953. if ($die) { 954. throw new PrestaShopException($message); 955. } 956. return $error_return ? $message : false; 957. } 958. } 959. ObjectModelCore->validateFields - [line 272 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 529 - classes/ObjectModel.php] ObjectModelCore->add - [line 174 - classes/Address.php] - [2 Arguments] AddressCore->add - [line 487 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 76 - classes/form/CustomerAddressPersister.php] CustomerAddressPersisterCore->save - [line 157 - classes/form/CustomerAddressForm.php] - [2 Arguments] CustomerAddressFormCore->submit - [line 111 - classes/checkout/CheckoutAddressesStep.php] CheckoutAddressesStepCore->handleRequest - [line 61 - classes/checkout/CheckoutProcess.php] - [1 Arguments] CheckoutProcessCore->handleRequest - [line 262 - controllers/front/OrderController.php] - [1 Arguments] OrderControllerCore->initContent - [line 255 - classes/controller/Controller.php] ControllerCore->run - [line 428 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Sobre el error que mencionas, revisa este artículo => https://victor-rodenas.com/2017/12/06/error-pais-address-id_country-empty-en-el-formulario-de-registro-de-prestashop/ 1 Link to comment Share on other sites More sharing options...
1075147_1508431223 Posted September 24, 2018 Author Share Posted September 24, 2018 (edited) Excelente ayuda Victor, problema solucionado y agradezco la infinidad de post de varios temas, me han ayudado a realizar mi tienda desde 0 y guiado por los post tuyos Edited September 24, 2018 by 1075147_1508431223 (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted September 24, 2018 Share Posted September 24, 2018 hace 2 minutos, 1075147_1508431223 dijo: Excelente ayuda Victor, problema solucionado y agradezco la infinidad de post de varios temas, me han ayudado a realizar mi tienda desde 0 y guiado por los post tuyos Me alegro de haberte podido ayudar. Si el tema ha quedado solucionado, no se te olvide también añadir la palabra "Solucionado" al título del tema: https://www.prestashop.com/forums/topic/269515-solucionado-¿como-poner-la-palabra-solucionado-en-el-titulo-del-tema/ Saludos, 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