- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 16.09.19, 17:01
- Opened by: Andrea Scotto Di Minico
- Closed by: Marek
- Closed on: 26.09.19, 16:17
- Reason: Closed
- Comment: Glad to help!
Ticket #15591 - AMP Product page not loading
Dear support,
I have an issue with product pages, on the desktop version of the website they works nicely, but on the AMP version I just get a “Fatal Error”:
https://fashiontamers.com/en/m/product/6200-orciani-handbags-pb0013
Hope for your help,
Cheers.
Comments
I need access to your server through FTP, current details dooes’t let me connect
we have the same problem, if you find a fix please share the solution
@Alessio I have updated the file /modules/pk_amp/controllers/front/product.php now the issue should be fixed
Thank you Marek for exteding the support.
We have close FTP access - we open it for you and should work. Let us know.
For now we had to disabled the AMP version, you are free to go into the BO and check and enable AMP, or ping me and I will turn AMP on.
Thank you.
Could you please disable all possible cache in your prestashop and server
All types of caches are turned off: I also double checked and cleaned the smarty cache anyway.
The server running is Apache with PHP-FPM running php 7.2.x.
What I notice is that with debug mode turned on the page works, with turned off it does not work again.
Very strange bug.
From the apache logs:
…/web/var/cache/prod/smarty/compile/5e/13/e6/5e13e6884d3c484f43d09e399851255c66fb71f8_2.module.pspagebuilderviewstemplat.php on line 45
PHP message: PHP Notice: Trying to get property ‘value’ of non-object in
…/web/var/cache/prod/smarty/compile/5e/13/e6/5e13e6884d3c484f43d09e399851255c66fb71f8_2.module.pspagebuilderviewstemplat.php on line 45
AH01071: Got error ‘PHP message: PHP Notice: Undefined index: image_sizes in …web/var/cache/prod/smarty/compile/5e/13/e6/5e13e6884d3c484f43d09e399851255c66fb71f8_2.module.pspagebuilderviewstemplat.php on line 45
PHP message: PHP Notice: Trying to get property ‘value’ of non-object in
/var/www/clients/client1/web6/web/var/cache/prod/smarty/compile/5e/13/e6/5e13e6884d3c484f43d09e399851255c66fb71f8_2.module.pspagebuilderviewstemplat.php on line 45
It’s like it want’ to access the cache, but all caches are totally disabled.
I Marek, same problem, I updated the module/pk_amp/ but ever FATAL ERROR on product page
Wee keep working on that…
The issue has been fixed. Please test to confirm the change
There is a problem with Friendly URL‘s for AMP product page and it was disabled for a while…