com_hikamarket/types/itemlayout.php

  • Posts: 20
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
5 hours 5 minutes 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.

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