• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 26.05.20, 12:09
  • Opened by: Peter Michalik
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #18089 - AMP error in error.js:201 The "height" attribute is missing:

Hello there is an error in HTML height attribute (see picture attached) in AMP mobile version of our e-shop: https://www.obuvtopky.sk/mobile

Can you suggest how to fix this?

Attachments:

AMP error in html height attr... (139.6 KiB)

Comments

Fred 26 May 2020, 14:54

I need full access to modules files, I can’t help you with no access.
Currently overriding doesn’t working /templates/mobile/modules/pspagebuilder/views/templates/front/widgets

Peter Michalik 26 May 2020, 19:43

you do have full access to modules with username: alysum.modules.obuvtopky.sk

please backup each file before editing by adding extension *.BACKUP-TOPKY and document what you have changed.

Fred 28 May 2020, 18:42

fixed in the file /modules/pspagebuilder/views/templates/front/widgets/widget_ampblogposts.tpl

Peter Michalik 29 May 2020, 13:27

Fred thank you. Can I understand why overrides don’t work now? Maybe I can help you be clearing the cache. Let me know how to do it from FTP.

Peter Michalik 02 Jun 2020, 10:29

Fred thank you. Can I understand why overrides don’t work now? Maybe I can help you be clearing the cache. Let me know how to do it from FTP.

Fred 02 Jun 2020, 10:46

Sorry for the delay. We had unexpected “vacation” last 3 days but now we are back, and I’ll try my best to find a solution.

Peter Michalik 03 Jun 2020, 11:37

Hi Fred, I understand. What do you think is the problem?

Fred 03 Jun 2020, 12:34

As I can see there is no more the error. As I remember it was because some post didn’t has an image.

Peter Michalik 03 Jun 2020, 12:59

there is now error: error.js:156

Peter Michalik 03 Jun 2020, 12:59

error.js:208 Failed to load: https://www.obuvtopky.sk/mobile​​​
xf @ error.js:156

Fred 03 Jun 2020, 13:48

I can’t find what cause that error message and what that means. Did that affects somehow to your website?

Peter Michalik 04 Jun 2020, 10:37

well the problem is that script from external site fails to load prolongs finished loading of the website to 15 sec, see screenshot attached. this obviously has an impact to SEO, search engine ratings, etc. maybe you can check whether reference to JS is OK.

Attachments:

AMP error in error.js.png (313.5 KiB)
Peter Michalik 27 Aug 2020, 10:57

hello, is there any progress on this? many thanks

Fred 27 Aug 2020, 14:54

unfortunately no, we can’t find what does that error means and what cause it

Peter Michalik 28 Aug 2020, 08:29

can you please investigate as this is clearly JS issue on the part of the theme

Fred 28 Aug 2020, 21:10

there is no our js code in AMP. All JS is hosted on google servers