Jump to content

Errore di accesso al BO - unexpected error occurred


Recommended Posts

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!

image.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...