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

#   AlphaUserPoints

##

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

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 1 month ago [\#121321](#121321) by [LenaK](/forum/user/6546-lenak "View LenaK's Profile")  *[AlphaUserPoints](/forum/25-install-update/861581-alphauserpoints#121321 "Hi! Since the last update, I'm getting this error message when I use points to pay for an order: Warning: Invalid argument supplied for foreach() in ..../public&#95;html/plugins/hikashop/userpoints/userpoints.php on line 437  Line 437 in that file looks like: foreach($this-&gt;fullOrder-&gt;order&#95;payment&#95;params-&gt;userpoints-&gt;earn&#95;points as $mode =&gt; $p) {  I see that you've done some work on this plugin, so maybe it's a simple fix ? Thank you. Lena")* was created by *[LenaK](/forum/user/6546-lenak "View LenaK's Profile")*

Hi!
Since the last update, I'm getting this error message when I use points to pay for an order:
Warning: Invalid argument supplied for foreach() in ..../public_html/plugins/hikashop/userpoints/userpoints.php on line 437

Line 437 in that file looks like:
foreach($this-&gt;fullOrder-&gt;order_payment_params-&gt;userpoints-&gt;earn_points as $mode =&gt; $p) {

I see that you've done some work on this plugin, so maybe it's a simple fix ?
Thank you.
Lena

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2MTU4MS1hbHBoYXVzZXJwb2ludHM/dG1wbD1tYXJrZG93bg==) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#121356](#121356) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[AlphaUserPoints](/forum/25-install-update/861581-alphauserpoints#121356 "Hi! Since the last update, I'm getting this error message when I use points to pay for an order: Warning: Invalid argument supplied for foreach() in ..../public&#95;html/plugins/hikashop/userpoints/userpoints.php on line 437  Line 437 in that file looks like: foreach($this-&gt;fullOrder-&gt;order&#95;payment&#95;params-&gt;userpoints-&gt;earn&#95;points as $mode =&gt; $p) {  I see that you've done some work on this plugin, so maybe it's a simple fix ? Thank you. Lena")*

Hi,

Thanks for the report.
Yes the plugin "user points" is a new plugin which allow you to earn/use points with AlphaUserPoints or using an HikaShop custom fields.

I will make some modifications and upload a new HikaShop package as soon as possible..

Regards,

---

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

The following user(s) said Thank You: [LenaK](/forum/user/6546-lenak "View LenaK's Profile")

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

- **[printco](/forum/user/15621-printco "View printco's Profile")**
- [![printco's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar15621.png)](/forum/user/15621-printco "View printco's Profile")
- [ Offline](/forum/user/15621-printco)

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 9 months ago [\#138340](#138340) by [printco](/forum/user/15621-printco "View printco's Profile")  Replied by *[printco](/forum/user/15621-printco "View printco's Profile")* on topic *[AlphaUserPoints](/forum/25-install-update/861581-alphauserpoints#138340 "Hi! Since the last update, I'm getting this error message when I use points to pay for an order: Warning: Invalid argument supplied for foreach() in ..../public&#95;html/plugins/hikashop/userpoints/userpoints.php on line 437  Line 437 in that file looks like: foreach($this-&gt;fullOrder-&gt;order&#95;payment&#95;params-&gt;userpoints-&gt;earn&#95;points as $mode =&gt; $p) {  I see that you've done some work on this plugin, so maybe it's a simple fix ? Thank you. Lena")*

So has this been fixed yet or what?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2MTU4MS1hbHBoYXVzZXJwb2ludHM/dG1wbD1tYXJrZG93bg==) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 9 months ago [\#138345](#138345) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[AlphaUserPoints](/forum/25-install-update/861581-alphauserpoints#138345 "Hi! Since the last update, I'm getting this error message when I use points to pay for an order: Warning: Invalid argument supplied for foreach() in ..../public&#95;html/plugins/hikashop/userpoints/userpoints.php on line 437  Line 437 in that file looks like: foreach($this-&gt;fullOrder-&gt;order&#95;payment&#95;params-&gt;userpoints-&gt;earn&#95;points as $mode =&gt; $p) {  I see that you've done some work on this plugin, so maybe it's a simple fix ? Thank you. Lena")*

Hi,

Yes, it has been fixed 4 months ago.

Regards,

---

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

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

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

[](#top)
