[Skip to main content](#vessel-content)

#   Error 0 on checkout when log-in

##

- **[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")**
- [![lacasetta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5505.jpg)](/forum/user/5505-lacasetta "View lacasetta's Profile") Topic Author
- [ Offline](/forum/user/5505-lacasetta)

Less More

- Posts: 719
- Thank you received: 3
-
-
-
- [](http://www.lacasettabio.it)
-

7 years 2 months ago [\#310894](#310894) by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")  *[Error 0 on checkout when log-in](/forum/27-checkout/898283-error-0-on-checkout-when-log-in#310894 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- Error-message(debug-mod must be tuned on) -- : 0 error 0 Cannot pass parameter 3 by reference  Hi, in my Hikashop configuration, on Checkout and &quot;Login &amp; Registration&quot; I have &quot;Login&quot; set to yes. From a few days, when you go to the checkout and go to the &quot;Login &amp; Registration&quot; step you have an issue: a page with error number zero and Cannot pass parameter 3 by reference. If I set the configuration Checkout, Login &amp; Registration, Login to NO. There is no issue. Please, could you help me? Thanks in advance Best regards")* was created by *[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")*

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- Error-message(debug-mod must be tuned on) -- : 0
error 0
Cannot pass parameter 3 by reference

Hi, in my Hikashop configuration, on Checkout and "Login &amp; Registration" I have "Login" set to yes.
From a few days, when you go to the checkout and go to the "Login &amp; Registration" step you have an issue: a page with error number zero and Cannot pass parameter 3 by reference.
If I set the configuration Checkout, Login &amp; Registration, Login to NO.
There is no issue.
Please, could you help me?
Thanks in advance
Best regards

---

my site with Hikashop
[ www.lacasettabio.it](http://www.lacasettabio.it)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODI4My1lcnJvci0wLW9uLWNoZWNrb3V0LXdoZW4tbG9nLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")**
- [![lacasetta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5505.jpg)](/forum/user/5505-lacasetta "View lacasetta's Profile") Topic Author
- [ Offline](/forum/user/5505-lacasetta)

Less More

- Posts: 719
- Thank you received: 3
-
-
-
- [](http://www.lacasettabio.it)
-

7 years 2 months ago -  7 years 2 months ago [\#310926](#310926) by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")  Replied by *[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")* on topic *[Error 0 on checkout when log-in](/forum/27-checkout/898283-error-0-on-checkout-when-log-in#310926 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- Error-message(debug-mod must be tuned on) -- : 0 error 0 Cannot pass parameter 3 by reference  Hi, in my Hikashop configuration, on Checkout and &quot;Login &amp; Registration&quot; I have &quot;Login&quot; set to yes. From a few days, when you go to the checkout and go to the &quot;Login &amp; Registration&quot; step you have an issue: a page with error number zero and Cannot pass parameter 3 by reference. If I set the configuration Checkout, Login &amp; Registration, Login to NO. There is no issue. Please, could you help me? Thanks in advance Best regards")*

Hi,
I've check the code and the issue seems to come out in the file componente/com_hikashop/checkout/tmpl/login.php
At the line 53 at
$this-&gt;loadTemplate('form')
start the issue.
It seems to come from login_form.php
at line 187
&lt;?php echo $this-&gt;cart-&gt;displayButton(JText::_('HIKA_LOGIN'), 'login', @$this-&gt;params, '',' var b = document.getElementById(\'login_view_action\'); if(b) { b.value = \'login\'; } document.hikashop_checkout_form.submit(); return false;','', 0, 1, 'btn btn-primary'); ?&gt;
&gt;
but I'm not be able to understand what's matter

---

my site with Hikashop
[ www.lacasettabio.it](http://www.lacasettabio.it)

Last edit: 7 years 2 months ago by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODI4My1lcnJvci0wLW9uLWNoZWNrb3V0LXdoZW4tbG9nLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

7 years 2 months ago [\#310942](#310942) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error 0 on checkout when log-in](/forum/27-checkout/898283-error-0-on-checkout-when-log-in#310942 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- Error-message(debug-mod must be tuned on) -- : 0 error 0 Cannot pass parameter 3 by reference  Hi, in my Hikashop configuration, on Checkout and &quot;Login &amp; Registration&quot; I have &quot;Login&quot; set to yes. From a few days, when you go to the checkout and go to the &quot;Login &amp; Registration&quot; step you have an issue: a page with error number zero and Cannot pass parameter 3 by reference. If I set the configuration Checkout, Login &amp; Registration, Login to NO. There is no issue. Please, could you help me? Thanks in advance Best regards")*

Hi,

I would first recommend to turn on the "error reporting" and "debug mode" settings of the Joomla configuration, and reproduce the error.
That way, that will give you an error message with much more information on where the problem comes from.
It would help if you could provide a screenshot of the error page with the additional debug information.

Now, supposing that it comes from the file componente/com_hikashop/checkout/tmpl/login.php I would recommend to turn off the "checkout legacy" setting of the Hikashop configuration in order to switch to the new checkout of HikaShop. That should help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODI4My1lcnJvci0wLW9uLWNoZWNrb3V0LXdoZW4tbG9nLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")**
- [![lacasetta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5505.jpg)](/forum/user/5505-lacasetta "View lacasetta's Profile") Topic Author
- [ Offline](/forum/user/5505-lacasetta)

Less More

- Posts: 719
- Thank you received: 3
-
-
-
- [](http://www.lacasettabio.it)
-

7 years 2 months ago [\#310950](#310950) by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")  Replied by *[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")* on topic *[Error 0 on checkout when log-in](/forum/27-checkout/898283-error-0-on-checkout-when-log-in#310950 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- Error-message(debug-mod must be tuned on) -- : 0 error 0 Cannot pass parameter 3 by reference  Hi, in my Hikashop configuration, on Checkout and &quot;Login &amp; Registration&quot; I have &quot;Login&quot; set to yes. From a few days, when you go to the checkout and go to the &quot;Login &amp; Registration&quot; step you have an issue: a page with error number zero and Cannot pass parameter 3 by reference. If I set the configuration Checkout, Login &amp; Registration, Login to NO. There is no issue. Please, could you help me? Thanks in advance Best regards")*

Hi,
thanks for your help.
After enabled the debug mode and error rport I have not other error message.
You can see my issue from my screenshot1
Also, about the legacy mode on checkout, I have not the select on my form.
You can see that from my screenshot 2

---

my site with Hikashop
[ www.lacasettabio.it](http://www.lacasettabio.it)

- [ ![Senza-titolo-1&#95;2019-09-16.jpg](/forum/attachment/47705) ](/forum/attachment/47705 "...2019-09-16.jpg") [ ](/forum/attachment/47705?download=1 "...2019-09-16.jpg")
- [ ![Senza-titolo-2&#95;2019-09-16.jpg](/forum/attachment/47706) ](/forum/attachment/47706 "...2019-09-16.jpg") [ ](/forum/attachment/47706?download=1 "...2019-09-16.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODI4My1lcnJvci0wLW9uLWNoZWNrb3V0LXdoZW4tbG9nLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

7 years 2 months ago [\#310963](#310963) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error 0 on checkout when log-in](/forum/27-checkout/898283-error-0-on-checkout-when-log-in#310963 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- Error-message(debug-mod must be tuned on) -- : 0 error 0 Cannot pass parameter 3 by reference  Hi, in my Hikashop configuration, on Checkout and &quot;Login &amp; Registration&quot; I have &quot;Login&quot; set to yes. From a few days, when you go to the checkout and go to the &quot;Login &amp; Registration&quot; step you have an issue: a page with error number zero and Cannot pass parameter 3 by reference. If I set the configuration Checkout, Login &amp; Registration, Login to NO. There is no issue. Please, could you help me? Thanks in advance Best regards")*

Hi,

The checkout legacy is activated as far as I can see. Otherwise, you wouldn't see the other checkout options below the "checkout legacy" setting and you wouldn't get that error.
However, it seems that the option to deactivate the checkout legacy has been removed from your HikaShop configuration on your website for some reason (there is no way to remove that yes/no option unless the view file displaying that area has been modified).
So you could always look in the hikashop_config table via your phpmyadmin from the entry with the namekey checkout_legacy and set it to 0. But the person who did that change might have had a reason for removing the option. So you might want to check with that person.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODI4My1lcnJvci0wLW9uLWNoZWNrb3V0LXdoZW4tbG9nLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")**
- [![lacasetta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5505.jpg)](/forum/user/5505-lacasetta "View lacasetta's Profile") Topic Author
- [ Offline](/forum/user/5505-lacasetta)

Less More

- Posts: 719
- Thank you received: 3
-
-
-
- [](http://www.lacasettabio.it)
-

7 years 2 months ago -  7 years 2 months ago [\#310987](#310987) by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")  Replied by *[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")* on topic *[Error 0 on checkout when log-in](/forum/27-checkout/898283-error-0-on-checkout-when-log-in#310987 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- Error-message(debug-mod must be tuned on) -- : 0 error 0 Cannot pass parameter 3 by reference  Hi, in my Hikashop configuration, on Checkout and &quot;Login &amp; Registration&quot; I have &quot;Login&quot; set to yes. From a few days, when you go to the checkout and go to the &quot;Login &amp; Registration&quot; step you have an issue: a page with error number zero and Cannot pass parameter 3 by reference. If I set the configuration Checkout, Login &amp; Registration, Login to NO. There is no issue. Please, could you help me? Thanks in advance Best regards")*

Hi,
there is no other person that work with my site.
I did not remove intenzionally the yes/not legacy button.
I don't remember very well, but it seems that after the first Hikashop update (the one that introduced the new checkout) the checkout legacy buttun did'not be there.
Could be on override that I had? If yes , what is the file?
By the way, I'd like to restore the real backend setting of Hikashop. What can I do?
Thanks

---

my site with Hikashop
[ www.lacasettabio.it](http://www.lacasettabio.it)

Last edit: 7 years 2 months ago by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODI4My1lcnJvci0wLW9uLWNoZWNrb3V0LXdoZW4tbG9nLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")**
- [![lacasetta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5505.jpg)](/forum/user/5505-lacasetta "View lacasetta's Profile") Topic Author
- [ Offline](/forum/user/5505-lacasetta)

Less More

- Posts: 719
- Thank you received: 3
-
-
-
- [](http://www.lacasettabio.it)
-

7 years 2 months ago -  7 years 2 months ago [\#310988](#310988) by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")  Replied by *[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")* on topic *[Error 0 on checkout when log-in](/forum/27-checkout/898283-error-0-on-checkout-when-log-in#310988 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.11 -- Error-message(debug-mod must be tuned on) -- : 0 error 0 Cannot pass parameter 3 by reference  Hi, in my Hikashop configuration, on Checkout and &quot;Login &amp; Registration&quot; I have &quot;Login&quot; set to yes. From a few days, when you go to the checkout and go to the &quot;Login &amp; Registration&quot; step you have an issue: a page with error number zero and Cannot pass parameter 3 by reference. If I set the configuration Checkout, Login &amp; Registration, Login to NO. There is no issue. Please, could you help me? Thanks in advance Best regards")*

Hi,
I suppose that there was an oversight.
The option to disable the checkout legacy is on the third row of my screenshot.
So, now I've disabled all the legacy options and the site seems to work fine.
Thanks
Best regards

---

my site with Hikashop
[ www.lacasettabio.it](http://www.lacasettabio.it)

Last edit: 7 years 2 months ago by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODI4My1lcnJvci0wLW9uLWNoZWNrb3V0LXdoZW4tbG9nLWluP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.062 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
