Jump to content

Cant login to backoffice after upgrade from 1.7.8 to 8.1 version


lsykora

Recommended Posts

Hello everyone,

 

I did 1 click upgrade from my prestashop 1.7.8 in to 8.1.. In front end, everything looks fine. But the problem is, I cant login in to backoffice. When I go to my backoffice : http://localhost/eshop123/spravce/ I get in here. I fill up the login details and when I press login I get error:

Attempted to call an undefined method named "jsonDecode" of class "Tools".

[Symfony\Component\ErrorHandler\Error\UndefinedMethodError 0]

Im running on php version 7.4. so it should not be a problem. My guess is, that there is some kind of module, that no longer works on 8.1. If any1 could confirm that, I can try to delete modules 1 by 1 and find out which one causes this problem. (Also would be nice if any1 can confirm, that delete modules I can just do like "/modules/ and here delete modules one by one") or is there any other way?

 

Of course if any1 know how to fix the error it would be the best!

 

Thanks for help

Link to comment
Share on other sites

  • 4 months later...
20 hours ago, markoo said:

you just dlete the hiaddtocartbutton folder from modules and work?

 

Hi,

Recommended way to uninstall a module

1. Log in to your Prestashop admin dashboard.

2. Go to "Modules" and then click on "Module Manager"

3. Locate the module you want to uninstall in the list.

4. If the module is currently enabled, click on the "Disable" button. This will deactivate the module.

5. After disabling the module, you'll see an "Uninstall" button. Click on it to uninstall the module. This step will remove the module from your Prestashop installation.

6. After uninstalling the module, it's a good practice to clear the Prestashop cache

Thanks!

Link to comment
Share on other sites

21 hours ago, markoo said:

I have the same problem, 

 

you just dlete the hiaddtocartbutton folder from modules and work?

 

Hello yes I did just deleted the folder. Anyway before you delete it, make sure you have backup.

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