Zudjo Posted April 2 Share Posted April 2 Hi everybody, After configuring the prestashop account module, every employee account created after, is not able to login. When trying to login in the backoffice by the `"Connect with another method" / mode=local` method, the form disappears and nothing happens. This is the error from the ajax call submitting the login: (domain substituted for privacy) XHRPOST https: //sub.domain.it/gestione/index.php?rand=1712062976879 [HTTP/2 500 Internal Server Error 2993ms ] 1 { "type": "https:\/\/tools.ietf.org\/html\/rfc2616#section-10", "title": "An error occurred", "status": 500, "detail": "The class 'PrestaShop\\Module\\PsAccounts\\Entity\\EmployeeAccount' was not found in the chain configured namespaces PrestaShopBundle\\Entity, PrestaShop\\Module\\PrestashopCheckout\\Entity", "class": "PrestaShop\\PrestaShop\\Core\\Exception\\CoreException", "trace": [ { "namespace": "", "short_class": "", "class": "", "type": "", "function": "", "file": "\/var\/www\/vhosts\/domain.it\/sub.domain.it\/classes\/Hook.php", "line": 431, "args": [] }, { "namespace": "", "short_class": "HookCore", "class": "HookCore", "type": "::", "function": "callHookOn", "file": "\/var\/www\/vhosts\/domain.it\/sub.domain.it\/classes\/Hook.php", "line": 981, "args": [] }, { "namespace": "", "short_class": "HookCore", "class": "HookCore", "type": "::", "function": "exec", "file": "\/var\/www\/vhosts\/domain.it\/sub.domain.it\/controllers\/admin\/AdminLoginController.php", "line": 287, "args": [] }, { "namespace": "", "short_class": "AdminLoginControllerCore", "class": "AdminLoginControllerCore", "type": "->", "function": "processLogin", "file": "\/var\/www\/vhosts\/domain.it\/sub.domain.it\/controllers\/admin\/AdminLoginController.php", "line": 206, "args": [] }, { "namespace": "", "short_class": "AdminLoginControllerCore", "class": "AdminLoginControllerCore", "type": "->", "function": "postProcess", "file": "\/var\/www\/vhosts\/domain.it\/sub.domain.it\/classes\/controller\/Controller.php", "line": 308, "args": [] }, { "namespace": "", "short_class": "ControllerCore", "class": "ControllerCore", "type": "->", "function": "run", "file": "\/var\/www\/vhosts\/domain.it\/sub.domain.it\/classes\/Dispatcher.php", "line": 510, "args": [] }, { "namespace": "", "short_class": "DispatcherCore", "class": "DispatcherCore", "type": "->", "function": "dispatch", "file": "\/var\/www\/vhosts\/domain.it\/sub.domain.it\/gestione\/index.php", "line": 95, "args": [] } ] } The strangest thing is that, if I try to login, then close the tab and navigate again in the backoffice, I'm logged in... Is this a bug? Thank you for your attention. Giorgio Ziu Link to comment Share on other sites More sharing options...
Clément Désiles Posted August 28 Share Posted August 28 @Zudjo thank you for writing this report, I'm sorry I'm discovering it only right now. PrestaShop Accounts is now made opensource, so anyone can directly address issues to the relevant team. See: https://github.com/PrestaShopCorp/ps_accounts Which version of PrestaShop and PS Account module are you using ? It seems this is a bug, I'm reproducing it with the latest sources of the module and Prestashop 8.1.7. 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