jules.hennep Posted January 31 Share Posted January 31 (edited) 1099. } 1100. 1101. $message = $this->validateField($field, $this->$field); 1102. if ($message !== true) { 1103. if ($die) { 1104. throw new PrestaShopException($message); 1105. } 1106. 1107. return $error_return ? $message : false; 1108. } 1109. } an OPTIONAL field is throwing this error, I have checked all the classes to make sure company name is not required, checked the back-end but still I get this freaking error. It is driving me up the wall, please point me in the right direction..... I also cleared the cache on more than one occasion via the back-end and by hand Edited January 31 by jules.hennep (see edit history) Link to comment Share on other sites More sharing options...
Coach G Posted January 31 Share Posted January 31 do you have anything in required_field table in your database? Link to comment Share on other sites More sharing options...
Coach G Posted January 31 Share Posted January 31 Also do you have any files (other than index.php) in /override/classes/form/ directory? Link to comment Share on other sites More sharing options...
jules.hennep Posted January 31 Author Share Posted January 31 Sorry Coach G didnot see your response. no none off that I ended up just bypassing the validation is not the best way but it works now Link to comment Share on other sites More sharing options...
jules.hennep Posted January 31 Author Share Posted January 31 looks like you where right ! I will give it another go. thank you!! 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