guava Posted October 13, 2017 Share Posted October 13, 2017 Hi, my shop gives me an error 500 on cart. If I order as guest:the first step is ok. I add my name,the second step I add my address and when I click next the "Choose delivery" have to come up, but the site crashes and error 500 is what i get. The link www.otroskipoganjalci.si thanks Link to comment Share on other sites More sharing options...
ENS Enterprises Posted October 13, 2017 Share Posted October 13, 2017 Hi, It's hard to say what's going on based solely on just a 500. Error 500 comes because of some php error. Please enable the debug mode and let me know the detailed error. Thanks, Link to comment Share on other sites More sharing options...
guava Posted October 13, 2017 Author Share Posted October 13, 2017 I enabled the debug mode. that's what I get: [PrestaShopException]Property Address->phone_mobile is emptyat line 915 in file classes/ObjectModel.php 910. }911.912. $message = $this->validateField($field, $this->$field);913. if ($message !== true) {914. if ($die) {915. throw new PrestaShopException($message);916. }917. return $error_return ? $message : false;918. }919. }920. ObjectModelCore->validateFields - [line 248 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 489 - classes/ObjectModel.php] ObjectModelCore->add - [line 176 - classes/Address.php] - [2 Arguments] AddressCore->add - [line 447 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 76 - classes/form/CustomerAddressPersister.php] CustomerAddressPersisterCore->save - [line 145 - classes/form/CustomerAddressForm.php] - [2 Arguments] CustomerAddressFormCore->submit - [line 111 - classes/checkout/CheckoutAddressesStep.php] CheckoutAddressesStepCore->handleRequest - [line 57 - classes/checkout/CheckoutProcess.php] - [1 Arguments] CheckoutProcessCore->handleRequest - [line 200 - controllers/front/OrderController.php] - [1 Arguments] OrderControllerCore->initContent - [line 201 - classes/controller/Controller.php] ControllerCore->run - [line 366 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] 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