bluestyle Posted February 25, 2015 Share Posted February 25, 2015 When i try to login or to create a new account, i receive the following error: Fatal error: Call to undefined method Address::getFieldsRequiredDB() in /home/petshop/public_html/classes/AddressFormat.php on line 551 http://www.petshop-aquazoo.ro/autentificare?back=my-account Do you know the reason? Link to comment Share on other sites More sharing options...
shacker Posted February 26, 2015 Share Posted February 26, 2015 check this post https://www.prestashop.com/forums/topic/351458-adding-text-string-to-address-on-invoice/ Link to comment Share on other sites More sharing options...
completepresta Posted March 16, 2015 Share Posted March 16, 2015 (edited) Got same problem, fresh install after changing Localization > Country > Address FormatI changed back to the original address format but still this error, the post you link i can't get any clue related to this error. prestashop version: 1.6.0.14 Edited March 16, 2015 by jsonjuri (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted March 16, 2015 Share Posted March 16, 2015 go to preferences, information and check if you have some missing files or changed files Link to comment Share on other sites More sharing options...
completepresta Posted March 16, 2015 Share Posted March 16, 2015 Missing files (2) .gitignore .gitmodules The error occurred when i did the following steps: Customers -> Required fields > Address2 - Postcode Localization > Countries > Country> Address format I changed back to normal but won't fix the issue. Changed it to address address2 one one rule instead of down each other. go to preferences, information and check if you have some missing files or changed files Link to comment Share on other sites More sharing options...
completepresta Posted March 16, 2015 Share Posted March 16, 2015 I found out something, strange but there was a file Address.php in the override folder.I did not install any non-prestashop modules yet so i dont know where and when this file has been created.Also there was another file Validate.php, i removed both this fixed the problem.There must be a bug somewhere that create these 2 files because the prestashop i use is a clean install. Link to comment Share on other sites More sharing options...
bluestyle Posted May 12, 2015 Author Share Posted May 12, 2015 Thank you, jsonjuri, that was the solution. 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