Cannot View Products in Store after PHP 8.2 update

  • Posts: 51
  • Thank you received: 0
  • Hikashop Essential
1 week 1 hour ago #369314

-- HikaShop version -- : 6.1.1
-- Joomla version -- : 5.4.0
-- PHP version -- : 8.2.29
-- Browser(s) name and version -- : Safari and Chrome
-- Error-message(debug-mod must be tuned on) -- : Cannot Decode Raw Data on Safari. The page is blank in Chrome browser. When I put it in debug mode, it works!

I recently updated to PHP 8.2 from 8.1 and now my shop is not working. You cannot get to the product page. You can see the shop but when you click on a product, either you get nothing in the Chrome browser or you get an error message - cannot decode raw data - in Safari.

When I turn on debug mode, the product is visible on the product page. Turn off debug, and you can't see it.

When I switched it back to 8.1, you can click on the product page. The problem with 8.1 is that Joomla warns you to update because it will not support 8.1 for much longer.

I thank you in advance for helping me with this.


"The doctor of the future will give no medicine, but will interest his patients in the care of the human frame, in diet, and in the cause and prevention of disease." Thomas Edison

Meditation for Health
www.seekwithinyou.com
Last edit: 1 week 1 hour ago by jackpotwinner.

Please Log in or Create an account to join the conversation.

  • Posts: 84695
  • Thank you received: 13776
  • MODERATOR
6 days 18 hours ago #369319

Hi,

That's indeed strange. Nothing is returned by the web server on the product page but the listing page displays fine.
I don't see why that would be the case and I don't remember anyone else with the same issue.
This will require investigation.
The first thing is to check the error log of the web server and of PHP. Hopefully, it contains some information on what is going on.
I would also recommend you to contact your hosting provider to see if they can provide more information on why this URL doesn't display anything.

Please Log in or Create an account to join the conversation.

  • Posts: 51
  • Thank you received: 0
  • Hikashop Essential
4 days 22 hours ago #369352

Okay, I contacted my host but they could not figure it out. I viewed the error logs and these are the only errors that show up so far.

This message contains confidential information


"The doctor of the future will give no medicine, but will interest his patients in the care of the human frame, in diet, and in the cause and prevention of disease." Thomas Edison

Meditation for Health
www.seekwithinyou.com

Please Log in or Create an account to join the conversation.

  • Posts: 84695
  • Thank you received: 13776
  • MODERATOR
4 days 17 hours ago #369355

Hi,

These are warnings and deprecated messages from other extensions. You can report them to their developer. They will be happy to know about it so that they can improve the code of their extension.
However, it should not change anything to your issue.

Can you try to switch to the default template of Joomla temporarily and see if that helps ? It could be a problem within the template, maybe a view override ?
Also, a temporary solution could be to keep the debug turned on and deactivate the system debug plugin via the Joomla plugins manager. That way, it wouldn't display the debug on the frontend but it should still work fine.

Please Log in or Create an account to join the conversation.

  • Posts: 51
  • Thank you received: 0
  • Hikashop Essential
4 hours 44 minutes ago #369403

I switched to the default template and it still does not work.

When I tried your temporary fix, it did not work. Once I deactivated the debug plugin, I could not view the product.

I currently just have the debug on so the product can be viewed. Are there other options to get this resolved?


"The doctor of the future will give no medicine, but will interest his patients in the care of the human frame, in diet, and in the cause and prevention of disease." Thomas Edison

Meditation for Health
www.seekwithinyou.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum