rmturner Posted March 10, 2022 Share Posted March 10, 2022 Up until very recently there have been no problems adding to cart. I'm using 1.7.4.3. Then last night a customer emailed me that he couldn't add anything to the cart. After research, I turned off the comments and chat modules, but that didn't help. Debug code (below) shows problems with the module lgtagmanager. I don't know what that is, but I renamed it and no longer get the debug errors. However, Add to Cart still doesn't work. Unless.....I reload the page; then products I selected are in the cart. I have cleared the cache so far. Here's the initial debug report: (1/1) ContextErrorException Warning: Declaration of BWDisplay::setTemplate($template) should be compatible with FrontControllerCore::setTemplate($template, $params = Array, $locale = NULL) in Display.php line 49 at ErrorHandler->handleError(2, 'Declaration of BWDisplay::setTemplate($template) should be compatible with FrontControllerCore::setTemplate($template, $params = Array, $locale = NULL)', '/home/collect/public_html/modules/lgtagmanager/backward_compatibility/Display.php', 49, array())in backward.php line 39 at require_once()in backward.php line 39 at require('/home/collect/public_html/modules/lgtagmanager/backward_compatibility/backward.php')in lgtagmanager.php line 41 at LGTagManager->__construct() at ReflectionClass->newInstance()in Container.php line 127 at Container->makeInstanceFromClassName('lgtagmanager', array('lgtagmanager' => true))in Container.php line 160 at Container->doMake('lgtagmanager', array('lgtagmanager' => true))in Container.php line 173 at Container->make('lgtagmanager')in ServiceLocator.php line 60 at ServiceLocator::get('lgtagmanager')in Module.php line 1091 at ModuleCore::coreLoadModule('lgtagmanager')in Module.php line 1071 at ModuleCore::getInstanceByName('lgtagmanager')in Hook.php line 837 at HookCore::exec('displayHeader')in FrontController.php line 552 at FrontControllerCore->initContent()in IndexController.php line 37 at IndexControllerCore->initContent()in Controller.php line 255 at ControllerCore->run()in Dispatcher.php line 428 at DispatcherCore->dispatch()in index.php line 29 Link to comment Share on other sites More sharing options...
ComGrafPL Posted March 10, 2022 Share Posted March 10, 2022 Clear cache by changing folder names inside VAR folder. Check on different browsers. Link to comment Share on other sites More sharing options...
rmturner Posted March 10, 2022 Author Share Posted March 10, 2022 I tried that, thanks. In different browsers I'm still getting Add to Cart not working unless I refresh the page. I can't delete products from the shopping cart without a page refresh either. I renamed the lgtagmanager module so that I'm not getting the debug errors above, but still the shopping cart isn't working. Link to comment Share on other sites More sharing options...
ComGrafPL Posted March 10, 2022 Share Posted March 10, 2022 6 minutes ago, rmturner said: I tried that, thanks. In different browsers I'm still getting Add to Cart not working unless I refresh the page. I can't delete products from the shopping cart without a page refresh either. I renamed the lgtagmanager module so that I'm not getting the debug errors above, but still the shopping cart isn't working. If it works after refresh it is cache issue. You could try delete whole module folder and try with cache. Can you send url? Link to comment Share on other sites More sharing options...
rmturner Posted March 10, 2022 Author Share Posted March 10, 2022 Sure: https://www.collectibleartwear.com/ I still have it in debug mode. Link to comment Share on other sites More sharing options...
ComGrafPL Posted March 10, 2022 Share Posted March 10, 2022 (edited) 19 minutes ago, rmturner said: Sure: https://www.collectibleartwear.com/ I still have it in debug mode. Are you using custom cart / checkout module? try with reset. Also whats your PHP version? Edited March 10, 2022 by ComGrafPL (see edit history) 1 Link to comment Share on other sites More sharing options...
rmturner Posted March 10, 2022 Author Share Posted March 10, 2022 PHP version is 7.1 and I reset the cart/checkout modules. Still have to reload to add something to the cart. Link to comment Share on other sites More sharing options...
rmturner Posted March 10, 2022 Author Share Posted March 10, 2022 In the console I'm getting this error: POST schemehttps hostwww.collectibleartwear.com filename/cart Address69.174.114.245:443 Status 404 Not Found VersionHTTP/1.1 Transferred5.16 KB (0 B size) Referrer Policystrict-origin-when-cross-origin 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