• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 27.10.24, 12:01
  • Opened by: Benbrahim Othmane

Ticket #25822 - Urgent - Fatal Error on Site After Product Configuration

Hello,

I’m currently experiencing fatal errors on my Alysum template after configuring certain products. This issue is disrupting the site’s functionality and affecting customer access.

Please see the attached image for the specific error details. Here is an example link where the issue can be observed: https://4test.tangerois.shop/index.php?id_product=84618&rewrite=lave-linge-6kg-1200trs-eco-bubble-silver-samsung&controller=product&id_lang=2

Thank you for addressing this matter as a priority. Your assistance in resolving it promptly would be greatly appreciated.

Best regards,

Comments

Fred 27 Oct 2024, 17:48

Hi, Benbrahim Othmane.
The issue has been fixed
Updated file is

/4test/modules/pkfavorites/src/Main/FavoriteProduct.php
Benbrahim Othmane 28 Oct 2024, 12:08

Hello,

Thank you very much for your help. There is still one more issue to address, please. The search bar is not working and doesn’t display products on the header.

I would appreciate it if you could assist with this as well.

Thank you in advance!

Fred 28 Oct 2024, 21:29

Do you use some kind of third party cache like Cloudflare? Because I don't see the changes I made when I open a file through browser

Benbrahim Othmane 29 Oct 2024, 10:53

Hello,
No, we don’t use any third-party cache.

Fred 29 Oct 2024, 19:08

I just enabled Debug mode and see that. the error is caused by "contactform" module which is a native Prestashop module.Try to update it or just disable

Benbrahim Othmane 29 Oct 2024, 20:13

Ah thank you,
what about the search bar ? is not working and doesn’t display products.

Fred 29 Oct 2024, 21:19

That's in progress. We are trying to figure out what's wrong

Fred 29 Oct 2024, 22:04

Something definitely wrong there.
Either you have enabled some cache (I see cloudflare script in your store) or the path to the prestashop installation is wrong
I have modified the script

/modules/pkelements/views/js/search.min.js

but I still see and old version in browser
https://4test.tangerois.shop/modules/pkelements/views/js/search.min.js

Benbrahim Othmane 30 Oct 2024, 10:27

Ah thank you,
what about the search bar ? is not working and doesn’t display products.

Benbrahim Othmane 30 Oct 2024, 13:12

Hello, any update ?

Fred 30 Oct 2024, 21:45

The last reply from me is the update. Can you give me some comments on that? why I edit files but don't see my changed in browser?

Benbrahim Othmane 31 Oct 2024, 11:38

Hello, sincerely, I don’t have any idea about this. Can you check once again if it works now?

Fred 31 Oct 2024, 23:44

I don't know what to do. I edit a file but don't see any changes
Are you sure you have disabled Cloudflare caching because I see the script https://mega.nz/file/YQw3mSgY#IKhm39KIPWYXOPnQ8ZnZ3FHRwQm5itISJoHhtpNAjXE