amina1236 Posted January 27, 2021 Share Posted January 27, 2021 (edited) Hello everyone, please i have this problem ( Undefined variable: session in /____/___/___/classes/Cookie.php on line 540) my version prestashop is 1.7.6 ?? Edited January 27, 2021 by amina1236 (see edit history) Link to comment Share on other sites More sharing options...
Alejandro Corona Posted April 2, 2021 Share Posted April 2, 2021 Hi, do you have a solution ?, i have the same error when i clic on input in my checkuot address input: (1/1) ContextErrorException Notice: Undefined variable: session in Cookie.php line 548 at CookieCore->getSession('7')in Cookie.php line 501 at CookieCore->deleteSession()in Cookie.php line 265 at CookieCore->mylogout()in Customer.php line 1240 at CustomerCore->mylogout()in FrontController.php line 364 at FrontControllerCore->init()in Controller.php line 287 at ControllerCore->run()in Dispatcher.php line 518 at DispatcherCore->dispatch()in index.php line 28 Link to comment Share on other sites More sharing options...
juanrojas Posted May 6, 2021 Share Posted May 6, 2021 similar error in the logout section or /?mylogout = Notice: Undefined variable: session in Cookie.php line 548 at CookieCore->getSession('1000') in Cookie.php line 501 at CookieCore->deleteSession() in Cookie.php line 265 at CookieCore->mylogout() in Customer.php line 1240 at CustomerCore->mylogout() in FrontController.php line 364 at FrontControllerCore->init() in Controller.php line 287 at ControllerCore->run() in Dispatcher.php line 518 at DispatcherCore->dispatch() in index.php line 28 Link to comment Share on other sites More sharing options...
maestrobo Posted June 24, 2021 Share Posted June 24, 2021 (edited) yep same issue here on 1.7.7.4 Not exactly the same issue but it happens when I want to disconnect PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /prestashop/classes/Cookie.php:548 Stack trace: #0 /prestashop/classes/Cookie.php(501): CookieCore->getSession('110') #1 /prestashop/classes/Cookie.php(265): CookieCore->deleteSession() #2 /prestashop/classes/Customer.php(1240): CookieCore->mylogout() #3 /prestashop/classes/controller/FrontController.php(364): CustomerCore->mylogout() #4 /prestashop/classes/controller/Controller.php(287): FrontControllerCore->init() #5 /prestashop/classes/Dispatcher.php(518): ControllerCore->run() #6 /prestashop/index.php(28): DispatcherCore->dispatch() #7 {main} thrown in /prestashop/classes/Cookie.php on line 548 are you all using" login as customer" or a cache module or not? thanks? Edited June 24, 2021 by maestrobo (see edit history) 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