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

#   Warning: Attempt to assign property of non-object

##

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

Less More

- Posts: 19
- Thank you received: 4
-
-

11 years 4 weeks ago [\#217032](#217032) by [gundogz](/forum/user/30311-gundogz "View gundogz's Profile")  *[Warning: Attempt to assign property of non-object](/forum/26-product-category-display/879806-warning-attempt-to-assign-property-of-non-object#217032 "-- url of the page with the problem -- :   www.gundogz.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.18 -- Browser(s) name and version -- : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 -- Error-message(debug-mod must be tuned on) -- : Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com&#95;hikashop/classes/field.php on line 220  Hi All,  Can you help me with the next error:  Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com&#95;hikashop/classes/field.php on line 220  i can't find te solution.")* was created by *[gundogz](/forum/user/30311-gundogz "View gundogz's Profile")*

-- url of the page with the problem -- : [ www.gundogz.nl](http://www.gundogz.nl)
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.5.18
-- Browser(s) name and version -- : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
-- Error-message(debug-mod must be tuned on) -- : Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com_hikashop/classes/field.php on line 220

Hi All,

Can you help me with the next error:

Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com_hikashop/classes/field.php on line 220

i can't find te solution.

- [ ![warning.jpg](/forum/attachment/27004) ](/forum/attachment/27004 "warning.jpg") [ ](/forum/attachment/27004?download=1 "warning.jpg")

The following user(s) said Thank You: [Rafaelnam](/forum/user/48428-rafaelnam "View Rafaelnam's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk4MDYtd2FybmluZy1hdHRlbXB0LXRvLWFzc2lnbi1wcm9wZXJ0eS1vZi1ub24tb2JqZWN0P3RtcGw9bWFya2Rvd24=) 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: 4077
-
- [](http://obsi.dev)
-

11 years 3 weeks ago [\#217035](#217035) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Warning: Attempt to assign property of non-object](/forum/26-product-category-display/879806-warning-attempt-to-assign-property-of-non-object#217035 "-- url of the page with the problem -- :   www.gundogz.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.18 -- Browser(s) name and version -- : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 -- Error-message(debug-mod must be tuned on) -- : Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com&#95;hikashop/classes/field.php on line 220  Hi All,  Can you help me with the next error:  Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com&#95;hikashop/classes/field.php on line 220  i can't find te solution.")*

Hi,

In file "administrator/components/com_hikashop/classes/field.php" please replace Code:

if(!isset($categories[$id]) &amp;&amp; is_numeric($id)) {

By Code:

if(!isset($categories[$id]) &amp;&amp; !is_array($data)) {

It will fix your issue.
We will update the HikaShop package as soon as possible with that patch.

Regards,

---

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

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

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

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

Less More

- Posts: 19
- Thank you received: 4
-
-

11 years 3 weeks ago [\#217067](#217067) by [gundogz](/forum/user/30311-gundogz "View gundogz's Profile")  Replied by *[gundogz](/forum/user/30311-gundogz "View gundogz's Profile")* on topic *[Warning: Attempt to assign property of non-object](/forum/26-product-category-display/879806-warning-attempt-to-assign-property-of-non-object#217067 "-- url of the page with the problem -- :   www.gundogz.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.18 -- Browser(s) name and version -- : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 -- Error-message(debug-mod must be tuned on) -- : Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com&#95;hikashop/classes/field.php on line 220  Hi All,  Can you help me with the next error:  Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com&#95;hikashop/classes/field.php on line 220  i can't find te solution.")*

Hi Jerome,

Thanks, this solution is working. You can close the call.

greetz Eduard Leeuwestein.

The following user(s) said Thank You: [Rafaelnam](/forum/user/48428-rafaelnam "View Rafaelnam's Profile")

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

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

Less More

- Posts: 61
- Thank you received: 1
-
-

10 years 10 months ago -  10 years 10 months ago [\#224533](#224533) by [miwhel](/forum/user/31234-miwhel "View miwhel's Profile")  Replied by *[miwhel](/forum/user/31234-miwhel "View miwhel's Profile")* on topic *[Warning: Attempt to assign property of non-object](/forum/26-product-category-display/879806-warning-attempt-to-assign-property-of-non-object#224533 "-- url of the page with the problem -- :   www.gundogz.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.18 -- Browser(s) name and version -- : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 -- Error-message(debug-mod must be tuned on) -- : Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com&#95;hikashop/classes/field.php on line 220  Hi All,  Can you help me with the next error:  Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com&#95;hikashop/classes/field.php on line 220  i can't find te solution.")*

Hi Jerome

We are seeing this error in Hikashop 2.6.0 but I am thinking with this post being over 2 months ago it would have been patched in 2.6.0. Is that not the case?

[EDIT] Sorry I have just seen this Gundogz reported this as with 2.6.0. Is there likely to be an updated version to fix this soon rather than manually patching? [/EDIT]

Also, our client is saying that 2.6.0 is much slower than the previous version they were using before we upgraded recently. Would there be any reason for this?

Thanks in advance.

Last edit: 10 years 10 months ago by [miwhel](/forum/user/31234-miwhel "View miwhel's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk4MDYtd2FybmluZy1hdHRlbXB0LXRvLWFzc2lnbi1wcm9wZXJ0eS1vZi1ub24tb2JqZWN0P3RtcGw9bWFya2Rvd24=) 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: 4077
-
- [](http://obsi.dev)
-

10 years 10 months ago [\#224538](#224538) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Warning: Attempt to assign property of non-object](/forum/26-product-category-display/879806-warning-attempt-to-assign-property-of-non-object#224538 "-- url of the page with the problem -- :   www.gundogz.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.5.18 -- Browser(s) name and version -- : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 -- Error-message(debug-mod must be tuned on) -- : Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com&#95;hikashop/classes/field.php on line 220  Hi All,  Can you help me with the next error:  Warning: Attempt to assign property of non-object in /home/vhosts/gundogz.nl/httpdocs/webshop/administrator/components/com&#95;hikashop/classes/field.php on line 220  i can't find te solution.")*

Hi,

As it is written:

> We will update the HikaShop package as soon as possible with that patch.

The patch as been submitted and as far as I can see, the current 2.6.0 is up to date for the patches.
So ; you can simply re-download HikaShop 2.6.0.

About the performances ; I'm sorry but it is really too vague and there is too few information to be able to give you a clear answer.
But for the generic answer ; it will be "no" and could be also the opposite because I personally made some performance patches in the latest releases in order to increase the speed of product listing generation and some other stuff.

Regards,

---

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

The following user(s) said Thank You: [Rafaelnam](/forum/user/48428-rafaelnam "View Rafaelnam's Profile")

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

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