Neil_948 Posted March 25, 2018 Share Posted March 25, 2018 (edited) Hi Guys, Can anyone point me in the right direction my PS has been active for just over 3 days now I have installed some modules which required further configuration by the developers which was completed yesterday. My site was working fine after this was able to still add accounts modify addresses e.t.c. I have spent today going through adding category images and general SEO work so nothing to do with configuration e.t.c. Then to my horror a prospective client has just contacted us to state they are unable sign up as getting an internal error 500 page when entering address information. I have replicated the issue on several devices and browsers any ideas where I would start with this one as the last time this happened I ended up uninstalling and re-installing as the shop was not live. I have not deleted any countries out only disabled the ones I have not yet translated or don't ship to. PHP debug info:- [PrestaShopException] Property Address->id_country is empty.at line 944 in file classes/ObjectModel.php 939. } 940. 941. $message = $this->validateField($field, $this->$field); 942. if ($message !== true) { 943. if ($die) { 944. throw new PrestaShopException($message); 945. } 946. return $error_return ? $message : false; 947. } 948. } 949. ObjectModelCore->validateFields - [line 272 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 518 - classes/ObjectModel.php] ObjectModelCore->add - [line 174 - classes/Address.php] - [2 Arguments] AddressCore->add - [line 476 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 76 - classes/form/CustomerAddressPersister.php] CustomerAddressPersisterCore->save - [line 162 - 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 201 - controllers/front/OrderController.php] - [1 Arguments] OrderControllerCore->initContent - [line 205 - classes/controller/Controller.php] ControllerCore->run - [line 379 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Edited March 25, 2018 by Neil_948 to add php information from debug (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted March 25, 2018 Share Posted March 25, 2018 Which Prestashop Version ? You are using own theme or the native one ? Link to comment Share on other sites More sharing options...
Neil_948 Posted March 25, 2018 Author Share Posted March 25, 2018 I'm currently using PS 1.7.2.4 and it's a purchased theme. (Manhood) Link to comment Share on other sites More sharing options...
bellini13 Posted March 25, 2018 Share Posted March 25, 2018 does the address you are trying to save have a Country provided? Link to comment Share on other sites More sharing options...
selectshop.at Posted March 25, 2018 Share Posted March 25, 2018 Perhaps one of the modules you installed and developer fixed is triggering this error. It is normal that immediately you will not notice problems, cause server uses cache. Only after this cache is cleared you will notice the problems, so after some time and not immediately. In this case deinstall all that modules you installed and needed intervention of developer. Link to comment Share on other sites More sharing options...
Neil_948 Posted March 25, 2018 Author Share Posted March 25, 2018 Funnily enough the checkout process doesn't ask for a country just a city but yes the countries are available as I use the restrict country by postal options. Link to comment Share on other sites More sharing options...
selectshop.at Posted March 25, 2018 Share Posted March 25, 2018 Perhaps the error is on the theme. Which is the URL in order that we can visualize the problem ? Link to comment Share on other sites More sharing options...
Neil_948 Posted March 25, 2018 Author Share Posted March 25, 2018 yes it's available on www.pleasuretime.uk Link to comment Share on other sites More sharing options...
selectshop.at Posted March 25, 2018 Share Posted March 25, 2018 Sorry cannot test. There is no option to create an account. OK I found. Very tricky.... Link to comment Share on other sites More sharing options...
selectshop.at Posted March 25, 2018 Share Posted March 25, 2018 Well, there is no country option on your theme. Please contact the theme developer. Link to comment Share on other sites More sharing options...
Neil_948 Posted March 25, 2018 Author Share Posted March 25, 2018 OK I have enabled it now you won't be able to check out and get charged everything is in test mode and paypal should be disabled Link to comment Share on other sites More sharing options...
Neil_948 Posted March 25, 2018 Author Share Posted March 25, 2018 Ok I will check with them as that is what I thought. Link to comment Share on other sites More sharing options...
Neil_948 Posted March 25, 2018 Author Share Posted March 25, 2018 Thank you for your help Link to comment Share on other sites More sharing options...
selectshop.at Posted March 25, 2018 Share Posted March 25, 2018 As written, you should contact theme developer There is an error in the theme. Without country, it is not possible to order on your page,. This is essential field. Perhaps one of the modules you installed is triggering the problem. Disable third party modules which can interfere on check-out process (payment, delivery, etc.) Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted March 25, 2018 Share Posted March 25, 2018 we ran into this issue last year... http://forge.prestashop.com/browse/BOOM-4291 you can apply the stackflow fix....not sure what the hold up is....remember to look outside of forum, specifically in forge...as it's already been broken by someone and if you are like us 'reported'. Link to comment Share on other sites More sharing options...
Neil_948 Posted March 26, 2018 Author Share Posted March 26, 2018 Thank you El, Unfortunately it seems something has gone really wrong somewhere as I was asked by the theme developer to try the default theme which I did now mandatory fields are showing as optional and applying the fix that was posted allowed me to sign up one account with address and then no more. Cleared the cache and everything still no look now looking for an agency to upgrade me to 1.7.3 and iron out the kinks so I can finally get live. Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted March 27, 2018 Share Posted March 27, 2018 (edited) 21 hours ago, Neil_948 said: Thank you El, Unfortunately it seems something has gone really wrong somewhere as I was asked by the theme developer to try the default theme which I did now mandatory fields are showing as optional and applying the fix that was posted allowed me to sign up one account with address and then no more. Cleared the cache and everything still no look now looking for an agency to upgrade me to 1.7.3 and iron out the kinks so I can finally get live. if you are looking for agency with 1.7 experience....get a quote here..we are actually US certified https://www.prestashop.com/en/experts/web-agencies/prestaheroes-heroic-support-and-solutions me I'm retired IBM...so when I see problem I report to forge....:) so want stuff done? done right? run, don't walk to here for fast flat rate quote: https://www.prestaheroes.com/en-us/prestashop-development-services/prestashop-upgrade-service more than likely we can just fix existing issue you have as the fix on forge has yet to be implemented into stable.. Thanks, el Edited March 27, 2018 by El Patron (see edit history) 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