HAIRWEBSHOP Posted August 2, 2017 Share Posted August 2, 2017 Hello, I've set VAT as a required field for the customer address, if I enter and save a valid VAT number, Prestashop crashes showing the following error: [PrestaShopException]Property Address->vat_number is emptyat line 909 in file classes/ObjectModel.php 904. }905.906. $message = $this->validateField($field, $this->$field);907. if ($message !== true) {908. if ($die) {909. throw new PrestaShopException($message);910. }911. return $error_return ? $message : false;912. }913. }914. ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 652 - classes/ObjectModel.php] ObjectModelCore->update - [line 195 - classes/Address.php] - [1 Arguments] AddressCore->update - [line 211 - classes/Address.php] AddressCore->delete - [line 192 - controllers/front/AddressController.php] AddressControllerCore->processSubmitAddress - [line 107 - controllers/front/AddressController.php] AddressControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Can someone please help me figure this out?Thank you in advance! Link to comment Share on other sites More sharing options...
NemoPS Posted August 2, 2017 Share Posted August 2, 2017 PrestaShop version? Is this happening in the front? Custom theme? 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