withypitts Posted September 6, 2023 Share Posted September 6, 2023 Prestashop 8.0.4 PHP V 8.0 Standard install mid July 2023 Seeing this error: Fatal error: Uncaught Error: Call to undefined method Validate::isPasswd() in /home/withypit/public_html/presta17/override/classes/Customer.php:67 Stack trace: #0 /home/withypit/public_html/presta17/classes/form/CustomerLoginForm.php(72): Customer->getByEmail('support@withypi...', '***********') #1 /home/withypit/public_html/presta17/controllers/front/AuthController.php(58): CustomerLoginFormCore->submit() #2 /home/withypit/public_html/presta17/classes/controller/Controller.php(319): AuthControllerCore->initContent() #3 /home/withypit/public_html/presta17/classes/Dispatcher.php(510): ControllerCore->run() #4 /home/withypit/public_html/presta17/index.php(28): DispatcherCore->dispatch() #5 {main} thrown in /home/withypit/public_html/presta17/override/classes/Customer.php on line 67 Ho do I fix this anyone? Thanks Richard Link to comment Share on other sites More sharing options...
idnovate.com Posted September 6, 2023 Share Posted September 6, 2023 Check this file /override/classes/Customer.php to know which module has overridden this class. It seems that you have an override for PS 1.7, so you need to update this module too. Link to comment Share on other sites More sharing options...
withypitts Posted September 6, 2023 Author Share Posted September 6, 2023 10 minutes ago, idnovate.com said: Check this file /override/classes/Customer.php to know which module has overridden this class. It seems that you have an override for PS 1.7, so you need to update this module too. Thank you. So I identified the module ( * module: lecmprepass * date: 2023-06-21 13:02:50 * version: 1.0.0 || used to migrate passwords when migrating from Opencart. I've tried to both Disable and Uninstall the module but am unable to do so. Could not perform action disable for module undefined Could not perform action uninstall for module undefined I assume that just deleting would not be the best outcome? Thanks for you guidance. Link to comment Share on other sites More sharing options...
withypitts Posted September 6, 2023 Author Share Posted September 6, 2023 2 hours ago, withypitts said: Thank you. So I identified the module ( * module: lecmprepass * date: 2023-06-21 13:02:50 * version: 1.0.0 || used to migrate passwords when migrating from Opencart. I've tried to both Disable and Uninstall the module but am unable to do so. Could not perform action disable for module undefined Could not perform action uninstall for module undefined I assume that just deleting would not be the best outcome? Thanks for you guidance. OK, I disables the module by setting Active to 0 in the database. Problem still exists though. Link to comment Share on other sites More sharing options...
AddWeb Solution Posted September 7, 2023 Share Posted September 7, 2023 Hi, If you have custom overrides in your Prestashop installation, make sure that your custom code is compatible with PrestaShop 8.0.4 and PHP 8.0. 13 hours ago, withypitts said: OK, I disables the module by setting Active to 0 in the database. Problem still exists though. In BO, Check if there are any modules related to authentication or customer login. Try disabling or uninstalling any modules related to customer authentication to see if the error goes away. Enable debugging mode in Prestashop to get more detailed error messages. Take backup of your website and database before making significant changes like this to ensure you can recover your site in case anything goes wrong. Thanks! Link to comment Share on other sites More sharing options...
idnovate.com Posted September 7, 2023 Share Posted September 7, 2023 16 hours ago, withypitts said: OK, I disables the module by setting Active to 0 in the database. Problem still exists though. Sure, the problem is in the override and the code is executed anyway even if the module is disabled. You can rename this file and clear cache. Check if there isn't any other function in this override. Then contact the module developer. Link to comment Share on other sites More sharing options...
withypitts Posted September 7, 2023 Author Share Posted September 7, 2023 2 hours ago, idnovate.com said: Sure, the problem is in the override and the code is executed anyway even if the module is disabled. You can rename this file and clear cache. Check if there isn't any other function in this override. Then contact the module developer. Thank you. After doing this problem remained, so, disabled all overrides (as far as I can see there are no other modules in Override, and problem solved. Thank you so much Regards Richard Link to comment Share on other sites More sharing options...
Nickz Posted September 7, 2023 Share Posted September 7, 2023 (edited) On 9/6/2023 at 9:56 AM, withypitts said: used to migrate passwords when migrating from Opencart. Hmm Opencart uses different keys to convert passwords, so its not as straight forward using the same password string so that could be the reason. Edited September 7, 2023 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
withypitts Posted September 7, 2023 Author Share Posted September 7, 2023 Thank you for the advice and guidance folks, platform now working (I think?) as it should. So, problem resolved, skill set advanced (IO have learnt quite a bit) and, hopefully, all systems go! 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