Pankaj S Posted August 31, 2023 Share Posted August 31, 2023 I am using Prestashop 8.1.1. When I select Product Variation from the product list page. Here is the page: https://www.secretgrip.co.uk/61-cart-trolley-bags. After Selecting variation, the add to cart button is not working. Can anyone help to fix the issue? Screen-shot: https://prnt.sc/VJmS_prgenEa Link to comment Share on other sites More sharing options...
juanrojas Posted August 31, 2023 Share Posted August 31, 2023 store in maintenance. do you use a module for this? Is it native to your theme? prestashop does not have this option by default. Link to comment Share on other sites More sharing options...
Pankaj S Posted August 31, 2023 Author Share Posted August 31, 2023 Yes, Please check the page now. And Yes I am using Theme for this. By Default it working fine but when we select any variation this is not working. Link to comment Share on other sites More sharing options...
juanrojas Posted August 31, 2023 Share Posted August 31, 2023 - I took a look at the demo of your theme and it does not have this behavior, what happens in the demo is that it enters the product file when I select the combination - Are you sure that theme is compatible with 8.1? - take a look at this module Link to comment Share on other sites More sharing options...
Nickz Posted August 31, 2023 Share Posted August 31, 2023 (edited) 3 hours ago, Pankaj S said: After Selecting variation, Better Edit the URL out. I only get a white screen. Is that shop alive for a few month? PHP Version changes? Edited August 31, 2023 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
Slurppa Posted September 17, 2023 Share Posted September 17, 2023 I had the same issue. Button worked ok after upgrading Prestashop to version 8.1.1 (PHP 7.2). After upgrading to PHP 8.1 add to cart button stopped working. I downgraded back to PHP 7.2 and button worked again. I didn’t try with PHP 7.3 or 7.4 1 1 Link to comment Share on other sites More sharing options...
planetarivs Posted October 8, 2023 Share Posted October 8, 2023 On 9/17/2023 at 5:34 AM, Slurppa said: I had the same issue. Button worked ok after upgrading Prestashop to version 8.1.1 (PHP 7.2). After upgrading to PHP 8.1 add to cart button stopped working. I downgraded back to PHP 7.2 and button worked again. I didn’t try with PHP 7.3 or 7.4 similar issue.. following.... Link to comment Share on other sites More sharing options...
planetarivs Posted October 11, 2023 Share Posted October 11, 2023 just to add up, on debug mode, my error comes as: WARNING: TRYING TO ACCESS ARRAY OFFSET ON VALUE OF TYPE NULL IN /HOME/DRIVERWA/PUBLIC_HTML/VAR/CACHE/DEV/SMARTY/COMPILE/ANGARTHEME/0D/E5/4A/0DE54A7DF2CE9F325675562CB8B6164899785FF9_2.MODULE.PS_SHOPPINGCARTMODAL.TPL.PHP ON LINE 62 Warning: Trying to access array offset on value of type null in /home/driverwa/public_html/var/cache/dev/smarty/compile/AngarTheme/0d/e5/4a/0de54a7df2ce9f325675562cb8b6164899785ff9_2.module.ps_shoppingcartmodal.tpl.php on line 64 Warning: Trying to access array offset on value of type null in /home/driverwa/public_html/var/cache/dev/smarty/compile/AngarTheme/0d/e5/4a/0de54a7df2ce9f325675562cb8b6164899785ff9_2.module.ps_shoppingcartmodal.tpl.php on line 69 Quantidade: Warning: Trying to access array offset on value of type null in /home/driverwa/public_html/var/cache/dev/smarty/compile/AngarTheme/0d/e5/4a/0de54a7df2ce9f325675562cb8b6164899785ff9_2.module.ps_shoppingcartmodal.tpl.php on line 81 Link to comment Share on other sites More sharing options...
olehdj Posted May 14 Share Posted May 14 Alguien resolvio el problema ??? Link to comment Share on other sites More sharing options...
olehdj Posted May 14 Share Posted May 14 Me pasa esto, alguie podría decirme por que falla, en php 7.4 OK pero em php 8.1 error video. 2024-05-08 17-49-47.mkv 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