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

#   Error - Cannot pass parameter 3 by reference

##

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

Less More

- Posts: 62
- Thank you received: 0
-
-

7 years 8 months ago [\#304711](#304711) by [joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")  *[Error - Cannot pass parameter 3 by reference](/forum/25-install-update/897108-error-cannot-pass-parameter-3-by-reference#304711 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.3.2 -- Error-message(debug-mod must be tuned on) -- : 0 - Cannot pass parameter 3 by reference  Hello,  When trying to go to the checkout I got this message: Cannot pass parameter 3 by reference What can I do to fix this?  regards, Joost")* was created by *[joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")*

-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.4
-- PHP version -- : 7.3.2
-- Error-message(debug-mod must be tuned on) -- : 0 - Cannot pass parameter 3 by reference

Hello,

When trying to go to the checkout I got this message: Cannot pass parameter 3 by reference
What can I do to fix this?

regards,
Joost

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzEwOC1lcnJvci1jYW5ub3QtcGFzcy1wYXJhbWV0ZXItMy1ieS1yZWZlcmVuY2U/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

7 years 8 months ago [\#304714](#304714) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error - Cannot pass parameter 3 by reference](/forum/25-install-update/897108-error-cannot-pass-parameter-3-by-reference#304714 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.3.2 -- Error-message(debug-mod must be tuned on) -- : 0 - Cannot pass parameter 3 by reference  Hello,  When trying to go to the checkout I got this message: Cannot pass parameter 3 by reference What can I do to fix this?  regards, Joost")*

Hi,

First, enable the "error reporting" and "debug mode" settings of the Joomla configuration.
That should give an error message with more information which will help us understand where that problem comes from as no one reported us such error message so far.

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

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

Less More

- Posts: 62
- Thank you received: 0
-
-

7 years 8 months ago [\#304717](#304717) by [joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")  Replied by *[joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")* on topic *[Error - Cannot pass parameter 3 by reference](/forum/25-install-update/897108-error-cannot-pass-parameter-3-by-reference#304717 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.3.2 -- Error-message(debug-mod must be tuned on) -- : 0 - Cannot pass parameter 3 by reference  Hello,  When trying to go to the checkout I got this message: Cannot pass parameter 3 by reference What can I do to fix this?  regards, Joost")*

Hi Nickolas,

Below you see the errors:

Warning: Declaration of plgHikashoppaymentIDEAL::onPaymentNotification($statuses, $orderID) should be compatible with hikashopPaymentPlugin::onPaymentNotification(&amp;$statuses) in /home/noeranie/domains/zainabstaartenensnackwinkel.nl/public_html/plugins/hikashoppayment/iDEAL/iDEAL.php on line 186

Notice: Undefined property: stdClass::$shipping_address in /home/noeranie/domains/zainabstaartenensnackwinkel.nl/public_html/plugins/hikashopshipping/zipcodes/zipcodes.php on line 117

Notice: Trying to get property 'address_post_code' of non-object in /home/noeranie/domains/zainabstaartenensnackwinkel.nl/public_html/plugins/hikashopshipping/zipcodes/zipcodes.php on line 117

Notice: Undefined property: stdClass::$shipping_address in /home/noeranie/domains/zainabstaartenensnackwinkel.nl/public_html/plugins/hikashopshipping/zipcodes/zipcodes.php on line 117

Notice: Trying to get property 'address_post_code' of non-object in /home/noeranie/domains/zainabstaartenensnackwinkel.nl/public_html/plugins/hikashopshipping/zipcodes/zipcodes.php on line 117

Location
1 () JROOT/components/com_hikashop/views/checkout/tmpl/login_form.php:41
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:697
3 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2182
4 hikashopView-&gt;loadTemplate() JROOT/components/com_hikashop/views/checkout/tmpl/login.php:53
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:697
6 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2182
7 hikashopView-&gt;loadTemplate() JROOT/components/com_hikashop/views/checkout/tmpl/step.php:153
8 include() JROOT/libraries/src/MVC/View/HtmlView.php:697
9 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2182
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:2165
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:1903
16 hikashopController-&gt;display() JROOT/components/com_hikashop/controllers/checkout_legacy.php:1858
17 checkoutLegacyController-&gt;display() JROOT/components/com_hikashop/controllers/checkout.php:65
18 checkoutController-&gt;display() JROOT/components/com_hikashop/controllers/checkout_legacy.php:412
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:1881
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=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzEwOC1lcnJvci1jYW5ub3QtcGFzcy1wYXJhbWV0ZXItMy1ieS1yZWZlcmVuY2U/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

7 years 8 months ago [\#304718](#304718) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error - Cannot pass parameter 3 by reference](/forum/25-install-update/897108-error-cannot-pass-parameter-3-by-reference#304718 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.3.2 -- Error-message(debug-mod must be tuned on) -- : 0 - Cannot pass parameter 3 by reference  Hello,  When trying to go to the checkout I got this message: Cannot pass parameter 3 by reference What can I do to fix this?  regards, Joost")*

Hi,

You're using the old checkout system of HikaShop on PHP 7.3.
As this is legacy code it's not supposed to work with the latest version of PHP 7.3.
You should turn off the "checkout legacy" setting of the HikaShop configuration in order to switch to the new checkout system. It will work better than the old and will work nice with PHP 7.3.

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

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

Less More

- Posts: 62
- Thank you received: 0
-
-

7 years 8 months ago [\#304724](#304724) by [joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")  Replied by *[joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")* on topic *[Error - Cannot pass parameter 3 by reference](/forum/25-install-update/897108-error-cannot-pass-parameter-3-by-reference#304724 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.3.2 -- Error-message(debug-mod must be tuned on) -- : 0 - Cannot pass parameter 3 by reference  Hello,  When trying to go to the checkout I got this message: Cannot pass parameter 3 by reference What can I do to fix this?  regards, Joost")*

Hi Nicolas,

Thanks for the quick reply. This did the trick!

regards,
Joost

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

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

Less More

- Posts: 332
- Thank you received: 6
-
-

6 years 9 months ago [\#314944](#314944) by [LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")  Replied by *[LukeDouglas](/forum/user/29032-lukedouglas "View LukeDouglas's Profile")* on topic *[Error - Cannot pass parameter 3 by reference](/forum/25-install-update/897108-error-cannot-pass-parameter-3-by-reference#314944 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.3.2 -- Error-message(debug-mod must be tuned on) -- : 0 - Cannot pass parameter 3 by reference  Hello,  When trying to go to the checkout I got this message: Cannot pass parameter 3 by reference What can I do to fix this?  regards, Joost")*

Nicolas,

There are other legacy settings enabled such as 'Add to Cart legacy', Backend dashboard legacy, and Carousel legacy. If any website is running under PHP 7.3 or higher, should these also be disabled?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzEwOC1lcnJvci1jYW5ub3QtcGFzcy1wYXJhbWV0ZXItMy1ieS1yZWZlcmVuY2U/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

6 years 9 months ago [\#314954](#314954) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error - Cannot pass parameter 3 by reference](/forum/25-install-update/897108-error-cannot-pass-parameter-3-by-reference#314954 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.4 -- PHP version -- : 7.3.2 -- Error-message(debug-mod must be tuned on) -- : 0 - Cannot pass parameter 3 by reference  Hello,  When trying to go to the checkout I got this message: Cannot pass parameter 3 by reference What can I do to fix this?  regards, Joost")*

Hi,

No, the legacy settings are supposed to work with PHP 7.3. It's just that they are less tested than the non legacy ones, since the vast majority of people don't use them anymore as they are old stuff.
The main reason you could look at disabling them would be to use the new interfaces which work better and have more features.
For example, after enable the checkout legacy, if you look at the "checkout" tab of the HikaShop configuration, you'll see the new checkout workflow editor which has much more options than the old one.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NzEwOC1lcnJvci1jYW5ub3QtcGFzcy1wYXJhbWV0ZXItMy1ieS1yZWZlcmVuY2U/dG1wbD1tYXJrZG93bg==) 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.084 seconds

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