- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 12.12.19, 15:00
- Opened by: Thomas BELLANGER
- Closed by: Fred
- Closed on: 03.01.20, 15:26
- Reason: Closed
- Comment: Glad to help!
Ticket #16440 - AMP lot of js bug
Hi guys
I have a lot of js bug in amp version
error.js:202 Cannot read property ‘addEventListener’ of undefined
bottom-69ec5a15.js:260 Uncaught (in promise) TypeError: Cannot read property ‘addEventListener’ of undefined
[<amp-state> cartList] Failed to parse state. Is it valid JSON? SyntaxError: Unexpected token M in JSON at position 219
Do you have an idea ?
Comments
AMP has been developed respecting all Google requirements. Your website seems just not configured properly. Please check out out documentation first http://alysum5.promokit.eu/promokit/documentation/amp/troubleshooting.html
I just use your theme… so..
i allready watch this topic and follow the right directives but still have a bug
Please give me a link where I can see the issue
https://maitretisanier.com/mobile for the amp version
https://maitretisanier.com/ for the desktop
Thx for your help
I don’t see any js error in AMP version
Sorry is it in the checkout page
Checkout is not valid AMP, because it could contain a lot of different payment and delivery modules with their own scripts.