- Posts: 252
- Thank you received: 1
HikaShop » Checkout (Legacy) -- with or without legacy
8 years 4 months ago #292709
by twscott
HikaShop » Checkout (Legacy) -- with or without legacy was created by twscott
-- HikaShop version -- : 3.4
-- Joomla version -- : 3.8
-- Error-message(debug-mod must be tuned on) -- : Too few arguments to function plgHikashopUserpoints::onCheckoutStepDisplay(), 3 passed in /home/ujoin/public_html/diggo.com/libraries/joomla/event/event.php on line 70 and exactly 5 expected
Hi,
Do you know what could possibly cause this error, I set a checkout item in the menu, and when execute I got this error message!
Thanks in afvance
-- Joomla version -- : 3.8
-- Error-message(debug-mod must be tuned on) -- : Too few arguments to function plgHikashopUserpoints::onCheckoutStepDisplay(), 3 passed in /home/ujoin/public_html/diggo.com/libraries/joomla/event/event.php on line 70 and exactly 5 expected
Hi,
Do you know what could possibly cause this error, I set a checkout item in the menu, and when execute I got this error message!
Thanks in afvance
Please Log in or Create an account to join the conversation.
8 years 4 months ago #292711
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic HikaShop » Checkout (Legacy) -- with or without legacy
Hello,
In the legacy checkout view "step", you need to replace the line
By
to pass the 5 requested parameters.
Regards,
In the legacy checkout view "step", you need to replace the line
Code:
$dispatcher->trigger('onCheckoutStepDisplay', array($layout, &$html, &$this));
Code:
$dispatcher->trigger('onCheckoutStepDisplay', array($layout, &$html, &$this, null, null));
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.147 seconds