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

#   System error at checkout

##

- **[alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")**
- [![alistair2802's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7142-alistair2802 "View alistair2802's Profile") Topic Author
- [ Offline](/forum/user/7142-alistair2802)

Less More

- Posts: 17
- Thank you received: 0
-
-

6 years 9 months ago [\#314781](#314781) by [alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")  *[System error at checkout](/forum/25-install-update/899021-system-error-at-checkout#314781 "-- url of the page with the problem -- :   madebyleah.uk  -- HikaShop version -- : 4.22 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.3.13 -- Browser(s) name and version -- : Chrome 79.0.3945.117 -- Error-message(debug-mod must be tuned on) -- : 0 Error: 0 Cannot pass parameter 3 by reference  Suddenly, I'm getting an error on my website   www.madebyleah.uk  when I add something to the shop and checkout - its saying that I need to login (which is correct, but normally it comes up with a nice Hikashop message, not this ugly system generated one (which is putting people off and they are leaving the site). Could you advise please?")* was created by *[alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")*

-- url of the page with the problem -- : [ madebyleah.uk](https://madebyleah.uk)
-- HikaShop version -- : 4.22
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.3.13
-- Browser(s) name and version -- : Chrome 79.0.3945.117
-- Error-message(debug-mod must be tuned on) -- : 0
Error: 0
Cannot pass parameter 3 by reference

Suddenly, I'm getting an error on my website [ www.madebyleah.uk](http://www.madebyleah.uk) when I add something to the shop and checkout - its saying that I need to login (which is correct, but normally it comes up with a nice Hikashop message, not this ugly system generated one (which is putting people off and they are leaving the site). Could you advise please?

- [ ![leah-error.jpg](/forum/attachment/48545) ](/forum/attachment/48545 "leah-error.jpg") [ ](/forum/attachment/48545?download=1 "leah-error.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5OTAyMS1zeXN0ZW0tZXJyb3ItYXQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

6 years 9 months ago [\#314805](#314805) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[System error at checkout](/forum/25-install-update/899021-system-error-at-checkout#314805 "-- url of the page with the problem -- :   madebyleah.uk  -- HikaShop version -- : 4.22 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.3.13 -- Browser(s) name and version -- : Chrome 79.0.3945.117 -- Error-message(debug-mod must be tuned on) -- : 0 Error: 0 Cannot pass parameter 3 by reference  Suddenly, I'm getting an error on my website   www.madebyleah.uk  when I add something to the shop and checkout - its saying that I need to login (which is correct, but normally it comes up with a nice Hikashop message, not this ugly system generated one (which is putting people off and they are leaving the site). Could you advise please?")*

Hi,

Please activate the "error reporting" and "debug mode" settings of the Joomla configuration and try again. The error message should display with more debug information allowing us to better understand the situation. Please provide a screenshot of all the information of the error when you do that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5OTAyMS1zeXN0ZW0tZXJyb3ItYXQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")**
- [![alistair2802's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7142-alistair2802 "View alistair2802's Profile") Topic Author
- [ Offline](/forum/user/7142-alistair2802)

Less More

- Posts: 17
- Thank you received: 0
-
-

6 years 9 months ago [\#314857](#314857) by [alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")  Replied by *[alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")* on topic *[System error at checkout](/forum/25-install-update/899021-system-error-at-checkout#314857 "-- url of the page with the problem -- :   madebyleah.uk  -- HikaShop version -- : 4.22 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.3.13 -- Browser(s) name and version -- : Chrome 79.0.3945.117 -- Error-message(debug-mod must be tuned on) -- : 0 Error: 0 Cannot pass parameter 3 by reference  Suddenly, I'm getting an error on my website   www.madebyleah.uk  when I add something to the shop and checkout - its saying that I need to login (which is correct, but normally it comes up with a nice Hikashop message, not this ugly system generated one (which is putting people off and they are leaving the site). Could you advise please?")*

Hi there, and thanks for your response.

I already currently have the 'error reporting' set to 'development': and 'debug' set to 'yes'. You can see the errors live for yourself, also the screen grab of what I see on the image I attached on the original post. So, as originally sated "Error: 0 Cannot pass parameter 3 by reference" is the only error message I can manufacture.

If I'm doing anything wrong or missing something, please let me know.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5OTAyMS1zeXN0ZW0tZXJyb3ItYXQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

6 years 9 months ago [\#314871](#314871) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[System error at checkout](/forum/25-install-update/899021-system-error-at-checkout#314871 "-- url of the page with the problem -- :   madebyleah.uk  -- HikaShop version -- : 4.22 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.3.13 -- Browser(s) name and version -- : Chrome 79.0.3945.117 -- Error-message(debug-mod must be tuned on) -- : 0 Error: 0 Cannot pass parameter 3 by reference  Suddenly, I'm getting an error on my website   www.madebyleah.uk  when I add something to the shop and checkout - its saying that I need to login (which is correct, but normally it comes up with a nice Hikashop message, not this ugly system generated one (which is putting people off and they are leaving the site). Could you advise please?")*

Hi,

Then please check the PHP error log of your server.
You should have there a Fatal error message with the text "Cannot pass parameter 3 by reference" in it with also the file path and line number where the error happened. Please provide the full error message.
Also, what you can try is to switch to the default Joomla template and see if the error message contains more information on that page with the default template.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5OTAyMS1zeXN0ZW0tZXJyb3ItYXQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")**
- [![alistair2802's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7142-alistair2802 "View alistair2802's Profile") Topic Author
- [ Offline](/forum/user/7142-alistair2802)

Less More

- Posts: 17
- Thank you received: 0
-
-

6 years 9 months ago [\#314879](#314879) by [alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")  Replied by *[alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")* on topic *[System error at checkout](/forum/25-install-update/899021-system-error-at-checkout#314879 "-- url of the page with the problem -- :   madebyleah.uk  -- HikaShop version -- : 4.22 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.3.13 -- Browser(s) name and version -- : Chrome 79.0.3945.117 -- Error-message(debug-mod must be tuned on) -- : 0 Error: 0 Cannot pass parameter 3 by reference  Suddenly, I'm getting an error on my website   www.madebyleah.uk  when I add something to the shop and checkout - its saying that I need to login (which is correct, but normally it comes up with a nice Hikashop message, not this ugly system generated one (which is putting people off and they are leaving the site). Could you advise please?")*

Hi Nicolas, thanks for that!

I thought I'd start with the easy one first - switching the templates. Which brought up the following:Please let me know if this helps or whether I still need to search for PHP errors.

---

The requested page can't be found.
An error has occurred while processing your request.
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a mistyped address
a search engine that has an out-of-date listing for this site
you have no access to this page
Search
You may wish to search the site or visit the home page.

Search ...
Search ...
Home Page

If difficulties persist, please contact the System Administrator of this site and report the error below.
\#0 Cannot pass parameter 3 by reference

/home/kentkrea/public_html/madebyleah/components/com_hikashop/views/checkout/tmpl/login_form.php:94
Call stack
\# Function Location
1 () JROOT/components/com_hikashop/views/checkout/tmpl/login_form.php:94
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:701
3 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2141
4 hikashopView-&gt;loadTemplate() JROOT/components/com_hikashop/views/checkout/tmpl/login.php:53
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:701
6 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2141
7 hikashopView-&gt;loadTemplate() JROOT/components/com_hikashop/views/checkout/tmpl/step.php:153
8 include() JROOT/libraries/src/MVC/View/HtmlView.php:701
9 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2141
10 hikashopView-&gt;loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
11 Joomla\CMS\MVC\View\HtmlView-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2124
12 hikashopView-&gt;display() JROOT/components/com_hikashop/views/checkout/view_legacy.html.php:48
13 CheckoutViewCheckoutLegacy-&gt;display() JROOT/components/com_hikashop/views/checkout/view.html.php:45
14 CheckoutViewCheckout-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
15 Joomla\CMS\MVC\Controller\BaseController-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:1862
16 hikashopController-&gt;display() JROOT/components/com_hikashop/controllers/checkout_legacy.php:1863
17 checkoutLegacyController-&gt;display() JROOT/components/com_hikashop/controllers/checkout.php:65
18 checkoutController-&gt;display() JROOT/components/com_hikashop/controllers/checkout_legacy.php:417
19 checkoutLegacyController-&gt;step() JROOT/components/com_hikashop/controllers/checkout.php:80
20 checkoutController-&gt;step() JROOT/libraries/src/MVC/Controller/BaseController.php:710
21 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:1840
22 hikashopController-&gt;execute() JROOT/components/com_hikashop/hikashop.php:92
23 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
24 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
25 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
26 Joomla\CMS\Application\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
27 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
28 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/index.php:49

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5OTAyMS1zeXN0ZW0tZXJyb3ItYXQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

6 years 9 months ago [\#314889](#314889) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[System error at checkout](/forum/25-install-update/899021-system-error-at-checkout#314889 "-- url of the page with the problem -- :   madebyleah.uk  -- HikaShop version -- : 4.22 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.3.13 -- Browser(s) name and version -- : Chrome 79.0.3945.117 -- Error-message(debug-mod must be tuned on) -- : 0 Error: 0 Cannot pass parameter 3 by reference  Suddenly, I'm getting an error on my website   www.madebyleah.uk  when I add something to the shop and checkout - its saying that I need to login (which is correct, but normally it comes up with a nice Hikashop message, not this ugly system generated one (which is putting people off and they are leaving the site). Could you advise please?")*

Hi,

Thanks.
That helps.
Edit the file /components/com_hikashop/views/checkout/tmpl/login_form.php and change the code: Code:

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

to: Code:

&lt;?php $params = null; if(isset($this-&gt;params)) $params = $this-&gt;params; echo $this-&gt;cart-&gt;displayButton(JText::_('HIKA_LOGIN'), 'login', $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;

and that should fix the problem. We'll add the patch on our end.

This actually comes from the fact that you're on PHP 7.3, and that you're using the legacy (old) checkout.
So I would recommend to turn off the "checkout legacy" setting of the HikaShop configuration.

The following user(s) said Thank You: [alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5OTAyMS1zeXN0ZW0tZXJyb3ItYXQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")**
- [![alistair2802's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7142-alistair2802 "View alistair2802's Profile") Topic Author
- [ Offline](/forum/user/7142-alistair2802)

Less More

- Posts: 17
- Thank you received: 0
-
-

6 years 9 months ago [\#314900](#314900) by [alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")  Replied by *[alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")* on topic *[System error at checkout](/forum/25-install-update/899021-system-error-at-checkout#314900 "-- url of the page with the problem -- :   madebyleah.uk  -- HikaShop version -- : 4.22 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.3.13 -- Browser(s) name and version -- : Chrome 79.0.3945.117 -- Error-message(debug-mod must be tuned on) -- : 0 Error: 0 Cannot pass parameter 3 by reference  Suddenly, I'm getting an error on my website   www.madebyleah.uk  when I add something to the shop and checkout - its saying that I need to login (which is correct, but normally it comes up with a nice Hikashop message, not this ugly system generated one (which is putting people off and they are leaving the site). Could you advise please?")*

Can't see where the 'legacy setting is in the checkout configuration, but the replaced code seems to have done the job!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5OTAyMS1zeXN0ZW0tZXJyb3ItYXQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

6 years 9 months ago [\#314901](#314901) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[System error at checkout](/forum/25-install-update/899021-system-error-at-checkout#314901 "-- url of the page with the problem -- :   madebyleah.uk  -- HikaShop version -- : 4.22 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.3.13 -- Browser(s) name and version -- : Chrome 79.0.3945.117 -- Error-message(debug-mod must be tuned on) -- : 0 Error: 0 Cannot pass parameter 3 by reference  Suddenly, I'm getting an error on my website   www.madebyleah.uk  when I add something to the shop and checkout - its saying that I need to login (which is correct, but normally it comes up with a nice Hikashop message, not this ugly system generated one (which is putting people off and they are leaving the site). Could you advise please?")*

Hi,

It's under the "advanced" tab.

The following user(s) said Thank You: [alistair2802](/forum/user/7142-alistair2802 "View alistair2802's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5OTAyMS1zeXN0ZW0tZXJyb3ItYXQtY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.081 seconds

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