Deprecated strpos()

  • Posts: 6
  • Thank you received: 0
  • Hikashop Business
8 months 2 weeks ago #360185

-- url of the page with the problem -- : www.tradesell.it
-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4.4.3
-- PHP version -- : 8.2
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : deprecated strpos()

Hi,
there is a specific product, a test item created to test the payment process, that trigger this message when visualizing the shopping cart
and also in the payment summary page, i attach the screenshot of the message and the screenshot of the product,
thanks
Eiasu

Attachments:

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
8 months 2 weeks ago #360186

Hi,

Thanks for your feedback.
Add the code:

if(empty($val->characteristic_value))
	continue;
before the line:
$char_value = $val->characteristic_value;
in the file administrator/components/com_hikashop/classes/product.php and it will remove the deprecated message.
We'll add the patch on our end too.

Last edit: 8 months 2 weeks ago by nicolas.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum