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

#   Community Builder Plugin

##

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

Less More

- Posts: 159
- Thank you received: 2
-
-

11 years 11 months ago [\#183814](#183814) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  *[Community Builder Plugin](/forum/30-integrations/873743-community-builder-plugin#183814 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6  Hi, I set up the CB Plugin for Hikashop and even though CB says that the plugin is not up to date with with CB 2.0 it works fine and I can see all orders a user made in his account.  But if a user just registers with CB and hasn't purchased anything before, I receive this error message after CB login:  Notice: Trying to get property of non-object in /www/htdocs/xxxxxxxxxxxx/administrator/components/com&#95;hikashop/helpers/helper.php  How can I get rid of this? Thanks Roger")* was created by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6

Hi,
I set up the CB Plugin for Hikashop and even though CB says that the plugin is not up to date with with CB 2.0 it works fine and I can see all orders a user made in his account.

But if a user just registers with CB and hasn't purchased anything before, I receive this error message after CB login:

Notice: Trying to get property of non-object in /www/htdocs/xxxxxxxxxxxx/administrator/components/com_hikashop/helpers/helper.php

How can I get rid of this?
Thanks
Roger

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

11 years 11 months ago [\#183818](#183818) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Community Builder Plugin](/forum/30-integrations/873743-community-builder-plugin#183818 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6  Hi, I set up the CB Plugin for Hikashop and even though CB says that the plugin is not up to date with with CB 2.0 it works fine and I can see all orders a user made in his account.  But if a user just registers with CB and hasn't purchased anything before, I receive this error message after CB login:  Notice: Trying to get property of non-object in /www/htdocs/xxxxxxxxxxxx/administrator/components/com&#95;hikashop/helpers/helper.php  How can I get rid of this? Thanks Roger")*

Hi,

Would it be possible to have the concerned line in the HikaShop helper ?
The notice message should give you a line number and it will be helpful if we want to fix that notice, to know the concerned line ; otherwise it will be a little bit difficult.

Regards,

---

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

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

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

Less More

- Posts: 159
- Thank you received: 2
-
-

11 years 11 months ago [\#183886](#183886) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Community Builder Plugin](/forum/30-integrations/873743-community-builder-plugin#183886 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6  Hi, I set up the CB Plugin for Hikashop and even though CB says that the plugin is not up to date with with CB 2.0 it works fine and I can see all orders a user made in his account.  But if a user just registers with CB and hasn't purchased anything before, I receive this error message after CB login:  Notice: Trying to get property of non-object in /www/htdocs/xxxxxxxxxxxx/administrator/components/com&#95;hikashop/helpers/helper.php  How can I get rid of this? Thanks Roger")*

Hi Jerome,
sorry, I had to go to the code view to see the line number: it is line 433

Thanks
Roger

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NzM3NDMtY29tbXVuaXR5LWJ1aWxkZXItcGx1Z2luP3RtcGw9bWFya2Rvd24=) 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: 14325
-
-

11 years 11 months ago [\#183949](#183949) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Community Builder Plugin](/forum/30-integrations/873743-community-builder-plugin#183949 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6  Hi, I set up the CB Plugin for Hikashop and even though CB says that the plugin is not up to date with with CB 2.0 it works fine and I can see all orders a user made in his account.  But if a user just registers with CB and hasn't purchased anything before, I receive this error message after CB login:  Notice: Trying to get property of non-object in /www/htdocs/xxxxxxxxxxxx/administrator/components/com&#95;hikashop/helpers/helper.php  How can I get rid of this? Thanks Roger")*

Hi,

Change this line:
return (int)$user-&gt;user_id;
to:
return (int)@$user-&gt;user_id;

in that file (it should be on line 433) and that should fix the error message.

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

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

Less More

- Posts: 159
- Thank you received: 2
-
-

11 years 11 months ago [\#183989](#183989) by [Rokell](/forum/user/32710-rokell "View Rokell's Profile")  Replied by *[Rokell](/forum/user/32710-rokell "View Rokell's Profile")* on topic *[Community Builder Plugin](/forum/30-integrations/873743-community-builder-plugin#183989 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6  Hi, I set up the CB Plugin for Hikashop and even though CB says that the plugin is not up to date with with CB 2.0 it works fine and I can see all orders a user made in his account.  But if a user just registers with CB and hasn't purchased anything before, I receive this error message after CB login:  Notice: Trying to get property of non-object in /www/htdocs/xxxxxxxxxxxx/administrator/components/com&#95;hikashop/helpers/helper.php  How can I get rid of this? Thanks Roger")*

Thnaks Nicolas. It works.
Cheers
Roger

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

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