Jump to content

Unable to backend login - ps_accounts issue


Dominoit

Recommended Posts

Hello,

I am searching for a solution to the "ps_accounts" error. After logging in to the backend, a message is displayed:

The current version of the module "ps_accounts" is below the required one and should be upgraded. The minimum expected version is: 5.0

[PrestaShop\PsAccountsInstaller\Installer\Exception\ModuleVersionException 0]

Screenshot_14.thumb.png.89eacd0b010397c4c68de1883c6469df.png

When I turn on debug mode, there are error details:

CRITICAL
php    Uncaught Exception: The current version of the module "ps_accounts" is below the required one and should be upgraded. The minimum expected version is: 5.0
CRITICAL
request    Uncaught PHP Exception PrestaShop\PsAccountsInstaller\Installer\Exception\ModuleVersionException: "The current version of the module "ps_accounts" is below the required one and should be upgraded. The minimum expected version is: 5.0" at /public_html/modules/ps_checkout/vendor/prestashop/prestashop-accounts-installer/src/Installer/Facade/PsAccounts.php line 49

 

I tried to delete the cache folder from var/cache and set 'ps_accounts' to 0 in the "ps_module" table of the database.

The strangest thing is that I don't have 'ps_accounts' in my modules folder.

Link to comment
Share on other sites

Hi,

Clear the cache and check once.

If you previously had the "ps_accounts" module installed and it was not removed properly, there might still be traces of it in the database, causing the error.

  • Make a backup of your database before proceeding.
  • Access your database using a tool like phpMyAdmin or any other database management tool.
  • Look for the "ps_module" table and find the row related to the "ps_accounts" module.
  • If there is any entry related to "ps_accounts," delete that row from the table.

Since you couldn't find the "ps_accounts" module in your modules folder, it's possible that the module files are missing or corrupted. You can try reinstalling the "ps_accounts" module using the PrestaShop back office.

Again Clear the cache and check.

Thanks!

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...