Warning: Attempt to assign property of non-object

  • Posts: 19
  • Thank you received: 4
9 years 8 months ago #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_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.

Attachments:
The following user(s) said Thank You: Rafaelnam

Please Log in or Create an account to join the conversation.

  • Posts: 26255
  • Thank you received: 4041
  • MODERATOR
9 years 8 months ago #217035

Hi,

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

if(!isset($categories[$id]) && is_numeric($id)) {
By
if(!isset($categories[$id]) && !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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: gundogz

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 4
9 years 8 months ago #217067

Hi Jerome,

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

greetz Eduard Leeuwestein.

The following user(s) said Thank You: Rafaelnam

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 1
9 years 6 months ago #224533

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: 9 years 6 months ago by miwhel.

Please Log in or Create an account to join the conversation.

  • Posts: 26255
  • Thank you received: 4041
  • MODERATOR
9 years 6 months ago #224538

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: Rafaelnam

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum
loading