• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 25.10.20, 20:55
  • Opened by: Jerome
  • Closed by: Fred
  • Closed on: 29.10.20, 21:38
  • Reason: Closed
  • Comment: Glad to help!

Ticket #19571 - AMP Checkout Error

Hello,

i have a big problem. I amp mode, in checkout page, it’s impossible to enter a card number. The field are not receive a focus.

I have this error :

4log.js:710 Uncaught Error: No ampdoc found for [object HTMLElement]
    at gb (log.js:710)
    at ab.f.createError (log.js:359)
    at rm.f.getAmpDoc (ampdoc-impl.js:192)
    at M (lru-cache.js:74)
    at new V (services.js:148)
    at HTMLElement.b.createdCallback (custom-element.js:236)
    at b [as constructor] (custom-element.js:114)
    at new b (custom-element.js:91)

I use Prestashop Checkout module.

Thank you.

It’s very important.

Comments

Fred 26 Oct 2020, 09:51

I have updated AMp module, please test it out now

Jerome 26 Oct 2020, 12:11

Hello,

the problem has been fix. But i have a other problem with update AMP module.

In header i have a “Array” text (see capture)

And text footer has been change. What are the things (text -css …) i need to restore ?

Attachments:

Capture d’écran 2020-10-26 a... (65.6 KiB)
Jerome 26 Oct 2020, 12:14

In footer i have this text (see capture)

I can’t change this in AMP Setting

Attachments:

Capture d’écran 2020-10-26 a... (28.2 KiB)
Fred 26 Oct 2020, 12:24

go to translation → theme
Read more about translation here https://alysum5.promokit.eu/promokit/documentation/amp/translations.html

Jerome 27 Oct 2020, 14:34

Hello Fred, i always “Array” wording on amp mobile page /pkamp/order.

Fred 28 Oct 2020, 10:53

I don’t see it, please take a screenshot

Jerome 28 Oct 2020, 10:56

I post a screenshot here already. The second comment, date : 26 Oct 2020, 11:11

Fred 28 Oct 2020, 17:09

I have uploaded original AMP files to your server but the word is still there, it seems it’s coming from another place. Please disable Opcache in your server configuration

Jerome 28 Oct 2020, 17:45
Jerome 28 Oct 2020, 19:16

Do you have a idea ? Actually nobody can access to product page. It’s hight priority

Jerome 28 Oct 2020, 19:36

debug mode

Attachments:

Capture d’écran 2020-10-28 a... (153.2 KiB)
Jerome 28 Oct 2020, 21:19

Finaly i resolve bug. But i have always “Array” wording in header page order.

Jerome 28 Oct 2020, 21:20

Please Fred, can you give me a name and path where there are the “Array” wording.

Thank you.

Fred 28 Oct 2020, 23:43

Please disable Opcache in your server configuration

Jerome 29 Oct 2020, 06:26

I disable opcache but wording “Array” are always visible

Jerome 29 Oct 2020, 08:40

I disable opcache but wording “Array” are always visible

Sorry i don’t know why i duplicated this message

Fred 29 Oct 2020, 09:24

Yes, I see, we are working on that

Fred 29 Oct 2020, 10:28

you removed credentials to access to your back office and FTP, please update

Jerome 29 Oct 2020, 12:09

Sorry but now i prefer keep all control on my website. So to fix my problem, please can you give me a process to fix this.

Thank you.

Fred 29 Oct 2020, 12:20

download attached fixed file and upload it to your server
/themes/alysum/templates/mobile/checkout/checkout.tpl

Attachments:

checkout.tpl (2.3 KiB)
Jerome 29 Oct 2020, 21:34

Thank, it’s work.

Can i delete all folder name ending in with “-” or “–” ?

Fred 29 Oct 2020, 21:35

yes you can

Jerome 29 Oct 2020, 21:38

ok thank you Fred :)

Fred 29 Oct 2020, 21:38

you are welcome