Jump to content

Fatal Error Custom field in address


carolinepgm1

Recommended Posts

Hey, 

I had insert an custom field following this tutorial (http://www.bitsandchips.it/forum/viewtopic.php?f=11&t=4884)

But, when I try to register an address, I have this error on the field that I had insert:

 

Fatal error: Call to undefined method Validate::isNumero() in /classes/ObjectModel.php on line 1030

 

On line 1030:

if (isset($data['validate']) && !Validate::$data['validate']($value) && (!empty($value) || $data['required']))

$errors[$field] = '<b>'.self::displayFieldName($field, get_class($this), $htmlentities).'</b> '.Tools::displayError('is invalid.');

 

"Numero" is what I had insert

Sorry for English. 

 

I'm using Prestashop 1.5.6

Edited by carolinepgm1 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...