lsykora Posted September 6, 2023 Share Posted September 6, 2023 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 More sharing options...
lsykora Posted September 6, 2023 Author Share Posted September 6, 2023 Fixed, it was because of module hiaddtocartbutton Link to comment Share on other sites More sharing options...
markoo Posted January 18, 2024 Share Posted January 18, 2024 I have the same problem, you just dlete the hiaddtocartbutton folder from modules and work? Link to comment Share on other sites More sharing options...
AddWeb Solution Posted January 19, 2024 Share Posted January 19, 2024 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 More sharing options...
lsykora Posted January 19, 2024 Author Share Posted January 19, 2024 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 More sharing options...
Yenibosnaweb Posted January 16 Share Posted January 16 (edited) I have the same problem. I did 1 click upgrade from my prestashop 1.7.5.1 in to 8.1., everything looks fine in front side. But I still can't login in to backoffice. Does anyone help me how to fix that problem. I have tried almost everything in prestashop forum Edited January 16 by Yenibosnaweb (see edit history) Link to comment Share on other sites More sharing options...
Yenibosnaweb Posted January 16 Share Posted January 16 Here is the error code in admin panel PHP Fatal error: Uncaught Symfony\Component\ErrorHandler\Error\UndefinedFunctionError: Attempted to call function "get_cfg_var" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer". in /home/tlemse/public_html/vendor/symfony/symfony/src/Symfony/Component/ErrorHandler/ErrorRenderer/HtmlErrorRenderer.php:60 Stack trace: #0 /home/tlemse/public_html/vendor/symfony/symfony/src/Symfony/Component/ErrorHandler/ErrorHandler.php(711): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->__construct(true) #1 /home/tlemse/public_html/vendor/symfony/symfony/src/Symfony/Component/ErrorHandler/ErrorHandler.php(601): Symfony\Component\ErrorHandler\ErrorHandler->renderException(Object(Symfony\Component\ErrorHandler\Error\UndefinedFunctionError)) #2 [internal function]: Symfony\Component\ErrorHandler\ErrorHandler->handleException(Object(Symfony\Component\ErrorHandler\Error\UndefinedFunctionError)) #3 {main} thrown in /home/tlemse/public_html/vendor/symfony/symfony/src/Symfony/Component/ErrorHandler/ErrorRenderer/HtmlErrorRenderer.php on line 60 Link to comment Share on other sites More sharing options...
Yenibosnaweb Posted January 18 Share Posted January 18 I NEED URGENT HELP PLEASE. does anyone knows? 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