rethus Posted August 7, 2015 Share Posted August 7, 2015 (edited) Prestashop 1.5.6 I have deactivate the requirement of Phone-Number, and in Country-Settings there is no phone-field which is required. But the Checkout-Process stop with the message "Mobile-Phone required". I've checked same logs and found this: 1) [warn] [client ..........196] mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Address->phone_mobile is empty' in /var/www/clients/client16/web124/web/classes/ObjectModel.php:837, referer: http://www.xxxxxxx.de/bestellung The function which have Line 8370 is: public function validateFields 2) The String for German language is: ../../translations/de/fields.php:$_FIELDS['Address_2df2ca5cf808744c2977e4073f6b59c8'] = 'Mobilfunk-Nr.'; Any hint, what's wrong here, so that an exeption is thrown? Edited August 7, 2015 by rethus (see edit history) Link to comment Share on other sites More sharing options...
rethus Posted August 7, 2015 Author Share Posted August 7, 2015 Solve it with a dirty hack: Comment the line 128 in classes/Address.php: 'phone_mobile' => array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32), 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