sooly Posted September 20, 2018 Share Posted September 20, 2018 (edited) Hello, Im trying to update prestashop on my localhost, but everytime it comes to database update I get an error: "[INTERNAL] C:\xampp\htdocs\pwr3\classes\Validate.php line 27 - Cannot declare class ValidateCore, because the name is already in use" https://i.imgur.com/qMpLTfL.png Apache log: "[Thu Sep 20 16:21:45.010145 2018] [php7:error] [pid 7048:tid 1660] [client ::1:57404] PHP Fatal error: Cannot declare class ValidateCore, because the name is already in use in C:\\xampp\\htdocs\\pwr3\\classes\\Validate.php on line 27, referer: http://localhost/pwr3/admin151561hba/index.php?controller=AdminSelfUpgrade&token=f1fed8131378770ed8b989a8866d8f1d" Im using latest 1 click update module version (4.2) I have no clue where could the problem be. Tried to update it 3x and always the same. Is there any other way to update database? Thanks for any help. Edited September 20, 2018 by sooly (see edit history) Link to comment Share on other sites More sharing options...
madkot Posted January 24, 2019 Share Posted January 24, 2019 Hi. Maybe it's late for the answer for you, but for the future - in my case the problem is generated by: override/classes/Validate.php just backup/remove this file and rewrite override for new version if you need. 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