• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 13.11.19, 10:37
  • Opened by: matteo
  • Closed by: Fred
  • Closed on: 03.01.20, 14:14
  • Reason: No answer from a customer
  • Comment: Glad to help!

Ticket #16157 - Mobile AMP add to cart Wrong SIZE

Hi, i have a problem on my site on AMP version; When form AMP site i add to cart an item the size Added is not the one that i have selected (you can try with this product code 19WOSH01 name Black octopus hoodie original) if you try to add a size M in the cart you find the size XS;
please help me thank you

Comments

Fred 13 Nov 2019, 16:47

Yes, I see. We are working on that…

matteo 13 Nov 2019, 17:46

thank you Fred!

Fred 14 Nov 2019, 21:17

Please try now, it should be fixed

matteo 15 Nov 2019, 15:00

amp it’s ok but i have an error on desktop, i have attached the screenshoot

Attachments:

Schermata 2019-11-15 alle 14.... (711.1 KiB)
matteo 15 Nov 2019, 16:06

if i disable the debug mode he working fine.

matteo 15 Nov 2019, 16:17

but with debug mode disabled don’t work amp version…

Fred 16 Nov 2019, 11:04

strange error in AMP. it doesn’t show error messages. Do you have access to server error logs to check out what’s wrong there?

matteo 16 Nov 2019, 15:35

i use webmin/virtualmin; if you want i can send you the ssh access for see the log

matteo 16 Nov 2019, 16:11

here an extract of last error log; i have for now disabled the amp module because i have a campaign active…

Attachments:

error_log (485.6 KiB)
Fred 16 Nov 2019, 16:35

That is definitely not a theme’s problem. Check out an error in the logs you sent me https://take.ms/fNefd

matteo 16 Nov 2019, 16:51

the problem is not of the server config… i talk about the fatal error on amp theme

matteo 16 Nov 2019, 17:40

i think is not a server error
because i have isolated my fatal error by my smartphone ip.

this is the error; i remember you i have the same fatal error on amp when i have installed your theme and you have resolved this….

[Sat Nov 16 15:46:21.872863 2019] [fcgid:warn] [pid 8602] [client 5.90.33.241:9385] mod_fcgid: stderr: PHP Notice: Undefined index: category in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 154, referer: https://shapestore.it/ [Sat Nov 16 15:46:21.872920 2019] [fcgid:warn] [pid 8602] [client 5.90.33.241:9385] mod_fcgid: stderr: PHP Notice: Trying to get property ‘value’ of non-object in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 154, referer: https://shapestore.it/ [Sat Nov 16 15:46:21.872948 2019] [fcgid:warn] [pid 8602] [client 5.90.33.241:9385] mod_fcgid: stderr: PHP Notice: Undefined index: category in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 155, referer: https://shapestore.it/ [Sat Nov 16 15:46:21.872959 2019] [fcgid:warn] [pid 8602] [client 5.90.33.241:9385] mod_fcgid: stderr: PHP Notice: Trying to get property ‘value’ of non-object in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 155, referer: https://shapestore.it/ [Sat Nov 16 15:46:21.872969 2019] [fcgid:warn] [pid 8602] [client 5.90.33.241:9385] mod_fcgid: stderr: PHP Notice: Undefined index: category in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 157, referer: https://shapestore.it/ [Sat Nov 16 15:46:21.872979 2019] [fcgid:warn] [pid 8602] [client 5.90.33.241:9385] mod_fcgid: stderr: PHP Notice: Trying to get property ‘value’ of non-object in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 157, referer: https://shapestore.it/ [Sat Nov 16 15:46:24.850685 2019] [fcgid:warn] [pid 8602] [client 5.90.33.241:9385] mod_fcgid: stderr: PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/b5/f8/9d/b5f89d6ecb78b3df51b8fd6f48b67e4807e9532e_2.file.product-details.tpl.php on line 266, referer: https://shapestore.it/12_carhartt [Sat Nov 16 15:46:39.291364 2019] [fcgid:warn] [pid 9492] [client 5.90.33.241:9464] mod_fcgid: stderr: PHP Notice: Undefined index: category in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 154, referer: https://shapestore.it/ [Sat Nov 16 15:46:39.291443 2019] [fcgid:warn] [pid 9492] [client 5.90.33.241:9464] mod_fcgid: stderr: PHP Notice: Trying to get property ‘value’ of non-object in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 154, referer: https://shapestore.it/ [Sat Nov 16 15:46:39.291455 2019] [fcgid:warn] [pid 9492] [client 5.90.33.241:9464] mod_fcgid: stderr: PHP Notice: Undefined index: category in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 155, referer: https://shapestore.it/ [Sat Nov 16 15:46:39.291465 2019] [fcgid:warn] [pid 9492] [client 5.90.33.241:9464] mod_fcgid: stderr: PHP Notice: Trying to get property ‘value’ of non-object in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 155, referer: https://shapestore.it/ [Sat Nov 16 15:46:39.291475 2019] [fcgid:warn] [pid 9492] [client 5.90.33.241:9464] mod_fcgid: stderr: PHP Notice: Undefined index: category in /home/shapestore/public_html/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/9d/de/a7/9ddea7fe21c83816ffbf5dcaabb0a8f883c58124_2.file.product-list.tpl.php on line 157, referer: https://shapestore.it/ [Sat Nov 16 15:46:39.291485 2019] [fcgid:warn] [pid 9492] [client 5.90.33.241:9464] mod_fcgid: stderr: PHP Notice:

Fred 17 Nov 2019, 11:23

I just added a fix to the file from logs, but that doesn’t helped.

PHP Notice: Undefined index: category in /product-list.tpl

Can I have access to error logs?