[SOLVED] Error message since new version of HikaShop ?

  • Posts: 190
  • Thank you received: 12
  • Hikaauction Standard Hikamarket Multivendor Hikaserial Standard Hikashop Business
1 week 2 days ago #308378

-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.8
-- PHP version -- : 7.3.5

Hi,

Not so long a go you helped us with making this code work in the product > show_default view :

<?php echo JHtml::_('content.prepare', '{mp4}'.$this->row->video.'{/mp4}');?>

But it looks like it's now giving an error of which we cannot find the cause.
Could it be because of changes in the code that it's now giving an error like this :

Call to undefined function JHtml_()
?
We tried turning off plugins etc. but we keep coming back to this short line in the view override.

Thanks for any tips.
Nico

Last edit: 1 week 1 day ago by nico.van.leeuwen. Reason: solved

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

  • Posts: 11979
  • Thank you received: 1651
  • MODERATOR
1 week 1 day ago #308384

Hello Nico,

Can you give us more information about your issue by :
- Activating the Joomla debug mode ("Administration->Global configuration->System->Debug System/Language")
- Setting the "error reporting" option of the Joomla configuration to "maximum"
- Testing it again so that we can have more information about your error message.

Thank you !

Kind regards,
Mohamed Thelji.

The following user(s) said Thank You: nico.van.leeuwen

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

  • Posts: 190
  • Thank you received: 12
  • Hikaauction Standard Hikamarket Multivendor Hikaserial Standard Hikashop Business
1 week 1 day ago #308400

Hi Mohamed, I posted the link in your personal message, hope this helps a bit.

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

  • Posts: 66270
  • Thank you received: 9720
  • MODERATOR
1 week 1 day ago #308402

Hi,

I don't see how this code could generate that error message.
To me, this looks like you removed the :: between the JHtml and the _ in the code and thus it's trying to call the function JHtml_ which indeed doesn't exists.

The following user(s) said Thank You: nico.van.leeuwen

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

  • Posts: 190
  • Thank you received: 12
  • Hikaauction Standard Hikamarket Multivendor Hikaserial Standard Hikashop Business
1 week 1 day ago #308412

Hi Nicolas,

Good spot, that is indeed the issue :lol:

All that is left is trying to figure out how they went missing... It worked before and we (as far as I remember) never went back to this view again afterwards.

Thanks for the tip !

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

Time to create page: 0.061 seconds
Powered by Kunena Forum