• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 01.09.21, 11:28
  • Opened by: caravntrader
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #22210 - AMP error

Hi,

Please check error on AMP Homepage. Thank you

Comments

Fred 01 Sep 2021, 11:29

Try to remove instagram widget from the AMP layout

caravntrader 01 Sep 2021, 13:41

Why do i have to remove Instagram widget?
I would like to keep that widget. Any other suggestion?

Fred 02 Sep 2021, 13:09

Fixed

caravntrader 02 Sep 2021, 13:19

Thank you, Fred.
just add a products widget to the AMP homepage and again error!

Fred 02 Sep 2021, 13:23

I see an error generated by Paypal module

Compile Error: Cannot declare class PayPal\Api\Address, because the name is already in use
modules/paypal/sdk/paypalREST/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/Address.php
caravntrader 02 Sep 2021, 14:23

Yes but unfortunately it’s an issue related to AMP module, wish is not working as it should.
I remove products widget and replace it with selected products widget. Now there is a new Error, can you please recheck?

Fred 04 Sep 2021, 09:55

The issue has been fixed. Please test to confirm the change

caravntrader 07 Sep 2021, 14:54

I still encounter a lot of errors with the AMP version/AMP widgets. Please check my AMP homepage to see the error.
Do you think a reinstallation of the AMP module will bring some help?

Fred 08 Sep 2021, 11:21

No need to reinstall.
The issue has been fixed. Please test to confirm the change

caravntrader 08 Sep 2021, 13:27

Thank you.
1. category page show an error.
2. product images on homepage are stretched

Fred 09 Sep 2021, 10:57

1. I don’t see any error on category page https://take.ms/QdJlU

2. Please make sure images you uploaded respects proportions defined in the Images Settings https://take.ms/TzWBc

caravntrader 09 Sep 2021, 18:28

1. Category page error is only on iPad devices
2. maybe you have an idea how to fix that issue with stretched images?

Fred 09 Sep 2021, 19:22

1. fixed
2. Please make sure images you uploaded respects proportions defined in the Images Settings https://take.ms/TzWBc

caravntrader 11 Sep 2021, 13:33

Is there a possibility to fix that without re-uploading those images?

Fred 12 Sep 2021, 11:28

That is not an issue of the theme.
Please try to upload correct image for one product to see the result.