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

#   error on checkout proccess at userpoint.php

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

9 years 6 months ago [\#269522](#269522) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[error on checkout proccess at userpoint.php](/forum/3-bug-report/890247-error-on-checkout-proccess-at-userpoint-php#269522 "-- url of the page with the problem -- : on development -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.0 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : Too few arguments to function plgHikashopUserpoints::onCheckoutStepDisplay(), 3 passed in /home/olfaaply/gp/libraries/joomla/event/event.php on line 70 and exactly 5 expected  Once I tested my localsite online with a PHP 7.1.4 powered server I found this error message:  This message shows once I do checkout having some product selected in the cart.  I fixed it going into to the file plugins/hikashop/userpoints/userpints.php  and changing line 741  by  Best regards,  Carlos.")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- url of the page with the problem -- : on development
-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.7.0
-- PHP version -- : 7.1.4
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : Too few arguments to function plgHikashopUserpoints::onCheckoutStepDisplay(), 3 passed in /home/olfaaply/gp/libraries/joomla/event/event.php on line 70 and exactly 5 expected

Once I tested my localsite online with a PHP 7.1.4 powered server I found this error message:
Code:

Too few arguments to function plgHikashopUserpoints::onCheckoutStepDisplay(), 3 passed in /home/olfaaply/gp/libraries/joomla/event/event.php on line 70 and exactly 5 expected

This message shows once I do checkout having some product selected in the cart.

I fixed it going into to the file plugins/hikashop/userpoints/userpints.php

and changing line 741
Code:

public function onCheckoutStepDisplay($layoutName, &amp;$html, &amp;$view, $pos, $options) {

by
Code:

public function onCheckoutStepDisplay($layoutName, &amp;$html, &amp;$view, $pos=null, $options=null) {

Best regards,

Carlos.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTAyNDctZXJyb3Itb24tY2hlY2tvdXQtcHJvY2Nlc3MtYXQtdXNlcnBvaW50LXBocD90bXBsPW1hcmtkb3du) 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: 86564
- Thank you received: 14311
-
-

9 years 6 months ago [\#269524](#269524) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[error on checkout proccess at userpoint.php](/forum/3-bug-report/890247-error-on-checkout-proccess-at-userpoint-php#269524 "-- url of the page with the problem -- : on development -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.0 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : Too few arguments to function plgHikashopUserpoints::onCheckoutStepDisplay(), 3 passed in /home/olfaaply/gp/libraries/joomla/event/event.php on line 70 and exactly 5 expected  Once I tested my localsite online with a PHP 7.1.4 powered server I found this error message:  This message shows once I do checkout having some product selected in the cart.  I fixed it going into to the file plugins/hikashop/userpoints/userpints.php  and changing line 741  by  Best regards,  Carlos.")*

Hi,

Thank you for your feedback. We'll add the patch. This should only happen with the legacy checkout activated. With the new checkout of HikaShop, these parameters are always provided.

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

- **[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")**
- [![gasoline's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6454.jpg)](/forum/user/6454-gasoline "View gasoline's Profile")
- [ Offline](/forum/user/6454-gasoline)
- Still searching ...

Less More

- Posts: 247
- Thank you received: 9
-
-
-
- [](https://gasoline.nl)
-

9 years 5 months ago [\#270713](#270713) by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile")  Replied by *[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")* on topic *[error on checkout proccess at userpoint.php](/forum/3-bug-report/890247-error-on-checkout-proccess-at-userpoint-php#270713 "-- url of the page with the problem -- : on development -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.0 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : Too few arguments to function plgHikashopUserpoints::onCheckoutStepDisplay(), 3 passed in /home/olfaaply/gp/libraries/joomla/event/event.php on line 70 and exactly 5 expected  Once I tested my localsite online with a PHP 7.1.4 powered server I found this error message:  This message shows once I do checkout having some product selected in the cart.  I fixed it going into to the file plugins/hikashop/userpoints/userpints.php  and changing line 741  by  Best regards,  Carlos.")*

Same here,

Testing my new servers (php7 instead of 5) and transfered a client with a backupsite.

Removing the legacy solved the issue, however some items (buttons f.e.) loose their layout so I need to fixed that in css. That's a little annoying cause this is an longrunning webshop, Everything is uptodate (joomla, Hikashop,etc).

---

I'll keep on trying!

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 5 months ago [\#270715](#270715) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[error on checkout proccess at userpoint.php](/forum/3-bug-report/890247-error-on-checkout-proccess-at-userpoint-php#270715 "-- url of the page with the problem -- : on development -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.0 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : Too few arguments to function plgHikashopUserpoints::onCheckoutStepDisplay(), 3 passed in /home/olfaaply/gp/libraries/joomla/event/event.php on line 70 and exactly 5 expected  Once I tested my localsite online with a PHP 7.1.4 powered server I found this error message:  This message shows once I do checkout having some product selected in the cart.  I fixed it going into to the file plugins/hikashop/userpoints/userpints.php  and changing line 741  by  Best regards,  Carlos.")*

Hello,

And did you test in legacy with the patch provided by @PeterChain ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")**
- [![gasoline's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6454.jpg)](/forum/user/6454-gasoline "View gasoline's Profile")
- [ Offline](/forum/user/6454-gasoline)
- Still searching ...

Less More

- Posts: 247
- Thank you received: 9
-
-
-
- [](https://gasoline.nl)
-

9 years 5 months ago -  9 years 5 months ago [\#270750](#270750) by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile")  Replied by *[gasoline](/forum/user/6454-gasoline "View gasoline's Profile")* on topic *[error on checkout proccess at userpoint.php](/forum/3-bug-report/890247-error-on-checkout-proccess-at-userpoint-php#270750 "-- url of the page with the problem -- : on development -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.0 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : Too few arguments to function plgHikashopUserpoints::onCheckoutStepDisplay(), 3 passed in /home/olfaaply/gp/libraries/joomla/event/event.php on line 70 and exactly 5 expected  Once I tested my localsite online with a PHP 7.1.4 powered server I found this error message:  This message shows once I do checkout having some product selected in the cart.  I fixed it going into to the file plugins/hikashop/userpoints/userpints.php  and changing line 741  by  Best regards,  Carlos.")*

> Jerome wrote: Hello,
>
> And did you test in legacy with the patch provided by @PeterChain ?
>
> Regards,

Hi Jerome,
No, I didn't do that.

But sometimes something that seems annoying can be good.

I switched of legacy-mode and now I see you changed some css classes, but seems that the setup is improved now for making stylesheets ![;)](/media/kunena/emoticons/24.png ";)").
So it gives me some work, but better to go with the setup of your new, improved, version. So I will adjust my css files.

Thanks for your response.

p.s.: is there somewhere a list of ccs classes used bij Hikashop ?

---

I'll keep on trying!

Last edit: 9 years 5 months ago by [gasoline](/forum/user/6454-gasoline "View gasoline's Profile"). Reason: ps

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 5 months ago [\#270754](#270754) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[error on checkout proccess at userpoint.php](/forum/3-bug-report/890247-error-on-checkout-proccess-at-userpoint-php#270754 "-- url of the page with the problem -- : on development -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.0 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : Too few arguments to function plgHikashopUserpoints::onCheckoutStepDisplay(), 3 passed in /home/olfaaply/gp/libraries/joomla/event/event.php on line 70 and exactly 5 expected  Once I tested my localsite online with a PHP 7.1.4 powered server I found this error message:  This message shows once I do checkout having some product selected in the cart.  I fixed it going into to the file plugins/hikashop/userpoints/userpints.php  and changing line 741  by  Best regards,  Carlos.")*

Hello,

HikaShop 3 now comes with new CSS files ; the "frontend_default" has been completely clean up and the old "frontend_default" is now "style_default".
If you're using a customized version for "frontend", we recommend to move the content into a "style" so you would be able to change more easily your CSS with the new rules from the "frontend" file in the same time

Afterwards no, there is no list of CSS class we are using because it would be very difficult to list and "explain".

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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