Jump to content

Unable to save account - Technical Error


Recommended Posts

Hello,

 

I really hope someone can help me here as I've been pulling what remains of my hair out all day on this issue.

 

I have Prestashop 1.5.4.1 on a server running PHP 5.3.4

 

This error only started a few days ago and I have made no changes recently to the shopping cart or server.

 

Using the One Page Checkout as a guest people fill in their details and then hit "Submit" (Changed from SAVE) so they can see available payment options.

 

At that point an error appears that reads,

 

TECHNICAL ERROR: unable to save account

Details:

Error thrown: [object Object]

Text status: error

 

This stops them in their tracks and they can't proceed or pay for their item.

 

After further investigation I switched on DEV mode in the defines.inc.php and using the console to see more information about the error.

 

===============================================

[PrestaShopException]

Validation function not found. isPhoneNumber
at line 930 in file classes/ObjectModel.php

 

924. 925. // Check field validator926. if (!empty($data['validate']))927. {928. if (!method_exists('Validate', $data['validate']))929. throw new PrestaShopException('Validation function not found. '.$data['validate']);930. 931. if (!empty($value) && !call_user_func(array('Validate', $data['validate']), $value))932. return 'Property '.get_class($this).'->'.$field.' is not valid';933. }934.

====================================================================

It looks like it's something to do with the validation of the phone number but the checkout does not require a phone number (BO Preferences > Phone number is OFF for registration)

As mentioned this error just appeared right out of the blue. In the error log the first error appeared on the 10th Dec.

[10-Dec-2014 22:53:50] PHP Fatal error:  Call to undefined method Validate::isPhoneNumber() in /home/[domain]/public_html/classes/ObjectModel.php on line 987

If someone can please help me figuring out how to remove this error - I am at wits end and open to any suggestions.

I am happy to supply the web address if that would help.

Link to comment
Share on other sites

×
×
  • Create New...