[How to fix] Hikashop Checkout issue: Cannot pass parameter 3 by reference

If you’re using Hikashop and get issue with “Add to Cart” checkout page on PHP 7.3.x, Hikashop 4.x, and error details with: “Cannot pass parameter 3 by reference”, it means you’re using old checkout legacy mode on Hikashop 4.x version.…

hikashop checkout issue

If you’re using Hikashop and get issue with “Add to Cart” checkout page on PHP 7.3.x, Hikashop 4.x, and error details with: “Cannot pass parameter 3 by reference”, it means you’re using old checkout legacy mode on Hikashop 4.x version.

hikashop checkout issue

From Hikashop 4.x, it moved to new checkout method, simple and work well with PHP 7.3, so how to solve it? It’s very simple, just go to Hikashop settings and turn off option called “Checkout legacy”.

hikashop checkout settings

How to navigate it?

  • Login to Joomla Admin panel
  • Go to Component > Hikashop
  • On Hikashop, go to menu “System > Configuration”
  • Open tab “Advanced”, find option “Checkout legacy” and turn it OFF

You can see screenshot for Checkout legacy from Hikashop configuration

hikashop checkout legacy

Save and recheck. If you still see issue, try to clear Site Cache and Browser Cache and recheck.

We also have Hikashop templates which you can take a look for your next project or improve existing website with Hikashop. If you see it’s useful for everyone, feel free share it for your friends who having same issue.

If you still have issue, or have any suggestion for this issue, feel free leave comment, we love to answer.

3/5 – (2 votes)
Kelvin

Build it with a template

Start from a finished design: Joomla templates, WordPress themes or the AI-ready block themes. Every template has a free version and a live demo.

Stuck on a template?

Pro customers can open a ticket; everyone can read the documentation.

Free download

Enter your email and the download starts right away.

The download starts at once. We email you the link and ask you to confirm your address. Privacy policy.