com_hikamarket/types/itemlayout.php

  • Posts: 20
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
3 days 11 hours ago #371535

-- HikaShop version -- : HikaShop Business 6.4.0 [2603202315]
-- HikaMarket version -- : 6.0.0
-- Joomla version -- : 5.4.5
-- PHP version -- : 8.3
-- Browser(s) name and version -- : Edge
-- Error-message(debug-mod must be tuned on) -- :  Too few arguments to function hikamarketItemlayoutType::loadValues(), 2 passed in /home/shepherdsstream/public_html/administrator/components/com_hikamarket/types/itemlayout.php on line 37 and exactly 3 expected


We fixed it with

I modified the file:
administrator/components/com_hikamarket/types/itemlayout.php


Changed the line 37 from:

$this->loadValues('-- ' . JText::sprintf('FROM_TEMPLATE', basename($template)) . ' --', $files);


To:

$this->loadValues('-- ' . JText::sprintf('FROM_TEMPLATE', basename($template)) . ' --', $files, true);



The loadValues function requires 3 parameters, but in the code above, it pass only 2, and this cause error.

fyi...

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

  • Posts: 26337
  • Thank you received: 4065
  • MODERATOR
2 days 21 hours ago #371540

Hello,

Thank you for the report.
We've updating the function declaration so the third parameter will stay optional.
It will be include in the next coming release.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.055 seconds
Powered by Kunena Forum