An error message after adding product in Joomla's article.

  • Posts: 2
  • Thank you received: 0
  • Hikashop Business
6 months 1 week ago #360920

-- HikaShop version -- : 5.0.4
-- Joomla version -- : 4.4.4
-- PHP version -- : 8.1.28
-- Browser(s) name and version -- : Microsoft Edge Version 124.0.2478.80 (Official build) (64-bit)
-- Error-message(debug-mod must be tuned on) -- : “Deprecated: Automatic conversion of false to array is deprecated in /home/grandish007/public_html/goldonline/libraries/src/HTML/HTMLHelper.php on line 795”

I ‘ve got an error message “Deprecated: Automatic conversion of false to array is deprecated in /home/grandish007/public_html/goldonline/libraries/src/HTML/HTMLHelper.php on line 795” after adding products in Joomla’s articles.

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

  • Posts: 82863
  • Thank you received: 13370
  • MODERATOR
6 months 1 week ago #360926

Hi,

First, please note that this isn't an error message. It's a deprecated message intended for developers to know what to modify in their code for proper support of futur versions of PHP.
On a normal live website, you don't want to display these. Normally, the server should be configured to not display these. I would recommend checking with your hosting how to not display deprecated messages.
Also, you can turn off the "error reporting" setting in the Joomla configuration and that will hide the messages, including deprecated messages.
Also, this error message indicates that the code which needs modification for futur versions of PHP is in Joomla, so I'm not sure we can do anything about this on our end. This code might actually have already been changed on Joomla 5.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum