• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 22.01.20, 16:05
  • Opened by: Juvenca Online
  • Closed by: Fred
  • Closed on: 01.03.20, 12:12
  • Reason: Closed
  • Comment: Glad to help!

Ticket #16675 - 500 Error on Category page with AMP enabled

Hi,

I am getting 500 error on Category page with AMP enabled. By enabling the debug mode i got the following error:

” (1/1) ClassNotFoundException

Attempted to load class “SearchProvider” from namespace “PrestaShop\Module\FacetedSearch\Product”.
Did you forget a “use” statement for “PrestaShopBundle\Translation\Provider\SearchProvider”?”

Also attached the screenshot of the error.

Attachments:

amp.PNG (71.6 KiB)

Comments

Fred 22 Jan 2020, 19:04

That is incompatibility with outdated 1.7.4.4. I just made a fix there and it works

Juvenca Online 23 Jan 2020, 06:47

But no product is showing in the category page. It is visible in desktop version but not visible through amp

Juvenca Online 23 Jan 2020, 06:49
Juvenca Online 23 Jan 2020, 10:21

Even product image is not coming on product page

Fred 23 Jan 2020, 10:40

you have to enable https, read more in our documentation https://alysum5.promokit.eu/promokit/documentation/amp/troubleshooting.html