HikaShop » Checkout (Legacy) -- with or without legacy

  • Posts: 252
  • Thank you received: 1
5 years 11 months ago #292709

-- 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

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
5 years 11 months ago #292711

Hello,

In the legacy checkout view "step", you need to replace the line

$dispatcher->trigger('onCheckoutStepDisplay', array($layout, &$html, &$this));
By
$dispatcher->trigger('onCheckoutStepDisplay', array($layout, &$html, &$this, null, null));
to pass the 5 requested parameters.

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.

Time to create page: 0.054 seconds
Powered by Kunena Forum