- Posts: 22
- Thank you received: 2
com_hikamarket/types/itemlayout.php
- ShepherdsStream
-
Topic Author
- Offline
Less
More
5 months 1 week ago #371535
by ShepherdsStream
com_hikamarket/types/itemlayout.php was created by ShepherdsStream
-- 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...
-- 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.
5 months 1 week ago #371540
by Jerome
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.
Replied by Jerome on topic com_hikamarket/types/itemlayout.php
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,
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.177 seconds