dvir Posted February 2, 2018 Share Posted February 2, 2018 hi, im getting this error in my error_log on my server : Stack trace: #0 /home/xxx/public_html/modules/ganalytics/ganalytics.php(841): CookieCore->__set('ga_cart', 'a:5:{i:301082;a...') #1 /home/xxx/public_html/classes/Hook.php(587): Ganalytics->hookActionCartSave(Array) #2 /home/xxx/public_html/classes/Hook.php(542): HookCore::coreCallHook(Object(Ganalytics), 'hookactionCartS...', Array) #3 /home/xxx/public_html/override/classes/Hook.php(35): HookCore::exec('actionCartSave', Array, NULL, false, true, false, NULL) #4 /home/xxx/public_html/classes/Cart.php(214): Hook::exec('actionCartSave') #5 /home/xxx/public_html/classes/Cart.php(1071): CartCore->update() #6 /home/xxx/public_html/controllers/front/CartController.php(293): CartCore->updateQty(1, 306087, 0, 0, 'up', 0) #7 /home/xxx/public_html/controllers/front/CartController.php(73): CartControllerCore->processChangeProductInCart() #8 /home/xxx/public_html/c in /home/cdsoft1/public_html/classes/Cookie.php on line 176 [01-Feb-2018 22:57:34 Israel] PHP Fatal error: Uncaught exception 'Exception' with message 'Forbidden chars in cookie' in /home/xxx/public_html/classes/Cookie.php:176 how can i fix it ? i have vps server, so i dont think it's a memory problem.. or maybe yes ? i have prestashop 1.6.1.4 Link to comment Share on other sites More sharing options...
MichalSkoula Posted February 21, 2018 Share Posted February 21, 2018 Hi, It can be this char: "|" in the product name and it can prevent users from adding to the cart... Link to comment Share on other sites More sharing options...
onklmaps Posted April 1, 2019 Share Posted April 1, 2019 Thanks! This helped me as well! Link to comment Share on other sites More sharing options...
EduardoCuomo Posted May 10, 2019 Share Posted May 10, 2019 We disabled `Ganalytics->hookActionCartSave` plugin, and it's working now. 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