• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #23459 - AMP version error 500

in AMP view category page isn’load.

I’ve got attached the screnshot with error in debuging mode.


error.jpg (86.9 KiB)


Fred 22 Jun 2022, 10:14

Hi, Piotr Bereźnicki.
Could you please disable Opcache in your server configuration for a while?

Piotr Bereźnicki 22 Jun 2022, 10:30

But without changes.

Fred 22 Jun 2022, 10:52

Are the FTP details correct?
I have changed the file /public_html/modules/pk_amp/controllers/front/category.php but nothing is changed in the category page

Piotr Bereźnicki 22 Jun 2022, 11:06

I’ve changed ftp pass.
Please try now.

But the last change of /public_html/modules/pk_amp/controllers/front/category.php is today. So it’ll fine, but category page on AMP mode still don’t work.

Fred 22 Jun 2022, 11:25

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

Piotr Bereźnicki 22 Jun 2022, 11:33

I confirm.
Evertthing is OK.

Should I enbled Opcache in server configuration?

Fred 22 Jun 2022, 12:23

Yes, you can eanble it back

Piotr Bereźnicki 22 Jun 2022, 12:37

OK. Thx for you support.

Fred 22 Jun 2022, 12:37

You are welcome!

Piotr Bereźnicki 26 Jul 2022, 13:03

I have to reinstall my venedor theme.
The issue is back.

Fred 27 Jul 2022, 01:23

Hi, Piotr Bereźnicki.
Try to disable Product comments module

Piotr Bereźnicki 27 Jul 2022, 09:16

productcomments module is turn off. I don’t use it.
Only products comment I use are Comments in Promokit Facebook, but after turn off it nothing change.
Check my print screen.


05_amp_mode.jpg (104.2 KiB)
Fred 27 Jul 2022, 10:46

Don’t you have a backup of your previous website?
You need to restore this file


I can’t connect to your server though FTP for some reason

Piotr Bereźnicki 27 Jul 2022, 10:57

No. I don’t have backup.
The FTP access data is corret.
No problem, I can wait.

Fred 27 Jul 2022, 11:19

Here is fixed file


category.php (14.3 KiB)
Piotr Bereźnicki 27 Jul 2022, 11:28

Works well.

Fred 27 Jul 2022, 11:37

You are welcome!