rnervi Posted November 10, 2020 Share Posted November 10, 2020 PS 1.7.6.8 If the "receive offers from out partner" is moved to OFF (= not appearing in site, not asking) the customer purchase process goes in crash. Property Customer->optin is empty. at line 1003 in file classes/ObjectModel.php 998. } 999. 1000. $message = $this->validateField($field, $this->$field); 1001. if ($message !== true) { 1002. if ($die) { 1003. throw new PrestaShopException($message); 1004. } 1005. 1006. return $error_return ? $message : false; 1007. } 1008. } ObjectModelCore->validateFields - [line 292 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 559 - classes/ObjectModel.php] ObjectModelCore->add - [line 262 - classes/Customer.php] - [2 Arguments] CustomerCore->add - [line 516 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 195 - classes/form/CustomerPersister.php] CustomerPersisterCore->create - [line 60 - classes/form/CustomerPersister.php] - [2 Arguments] CustomerPersisterCore->save - [line 192 - classes/form/CustomerForm.php] - [4 Arguments] CustomerFormCore->submit - [line 62 - classes/checkout/CheckoutPersonalInformationStep.php] CheckoutPersonalInformationStepCore->handleRequest - [line 59 - classes/checkout/CheckoutProcess.php] - [1 Arguments] CheckoutProcessCore->handleRequest - [line 264 - controllers/front/OrderController.php] - [1 Arguments] OrderControllerCore->initContent - [line 292 - classes/controller/Controller.php] ControllerCore->run - [line 515 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Sounds like the field is seeked by database and is not found in form items, not has been initialized FALSE. Thus, with this feature ON is not possible to end checkout. 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