Gullicini Posted February 5, 2024 Share Posted February 5, 2024 Buongiorno da qualche giorno quando provo ad accedere al BO mi viene visualizzato un errore nello specifico:Oops... looks like an unexpected error occurred. Attempted to call an undefined method named "getLoginActivated" of class "PrestaShop\Module\PsAccounts\Service\PsAccountsService". [Symfony\Component\Debug\Exception\UndefinedMethodException 0] Enable debug mode Non riuscendo a entrare nell'area di amministrazione ho provato ha disabilitare ps_accounts dalla tabella ps_module del DB, ho provato a cancellare la cache ma non è servito a nulla. Ho rinominato i file della cartella /modules/ps_accounts ma non è servito. In debug mode ricevo questo: Symfony\Component\Debug\Exception\UndefinedMethodException in modules/ps_accounts/controllers/admin/AdminLoginController.php (line 70) /** @var PsAccountsService $moduleService */ $moduleService = $this->psAccountsModule->getService(PsAccountsService::class); if (self::PS_ACCOUNTS_LOGIN_MODE_LOCAL !== $this->getPsAccountsLoginMode()) { $this->psAccountsLoginEnabled = $moduleService->getLoginActivated(); } } /* @phpstan-ignore-next-line */ public function setMedia($isNewTheme = false) A qualcuno è mai successa una cosa simile? Mi potete aiutare? Grazie! Link to comment Share on other sites More sharing options...
fedesib Posted February 5, 2024 Share Posted February 5, 2024 Ciao, vedi se questo thread può esserti d'aiuto: Buon pomeriggio, Federica Link to comment Share on other sites More sharing options...
Soluzioni PhP Posted February 6, 2024 Share Posted February 6, 2024 Non devi rinominare i file, ma l'intera cartella es. ps_account_old dato che sei già connesso in FTP vai in var/cache e cancelli tutto il suo contenuto Accedi al BO e vedi che tutto funzia Link to comment Share on other sites More sharing options...
Gullicini Posted February 12, 2024 Author Share Posted February 12, 2024 Grazie! 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