Skip to main content

v2.2.2Warning:Illegal offset type in isset orempty

13 years 1 month ago - 13 years 1 month ago #126294 by onsitenet
After upgrading to version 2.2.2 from 2.1.x

When you EDIT a product
ERROR: Warning: Illegal offset type in isset or empty in /website/administrator/components/com_hikashop/classes/field.php on line 1824

Displaying above one of the custom fileds
This particular field is a multiple selection list
The field is not displaying the selections made when product was first inserted
I haven't save any changes to the product to avoid losing the data of this field
In the frontend the field is displayed and custom filters are working for this field
Last edit: 13 years 1 month ago by onsitenet.

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

13 years 1 month ago - 13 years 1 month ago #126351 by Jerome
Hi,

[strike]I can't reproduce the problem in my local website and this error has no sense.
Which version of PHP are you using for having such warning message ?[/strike]
Seeing with Nicolas, I guess that we found the source of the problem. We are working on a patch.

Regards

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 13 years 1 month ago by Jerome.

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

13 years 1 month ago #126360 by Jerome
Hi,

I update the package with a fix.
Please re-download HikaShop 2.2.2, it should fix the problem.

Regards,

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

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

13 years 1 month ago #126362 by onsitenet
Unfortunately it didn't.

now says: Warning: Illegal offset type in isset or empty in /website/administrator/components/com_hikashop/classes/field.php on line 1825

it just moved one line...

I run PHP 5.3 with register globals off and safe mode off ...as always...
But I can move to 5.4 ...should I ?

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

13 years 1 month ago #126368 by Jerome
Hi,

My fault...
I updated all packages but I had an error with the upload of "hikashop_business.zip" (when the tar.gz worked fine).
So the business zip package wasn't up to date with the fix.

I re-upload and check, it will be better.

Regards,

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

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

13 years 1 month ago #126370 by Teto
Hello

I have the same problem, I downloaded one minute ago the tar.gz package of 2.2.2 business version.

Now when I open the product page this is the result:





Thanks for your feedback.

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

13 years 1 month ago #126373 by onsitenet

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

13 years 1 month ago #126377 by Jerome
Hi,

I really don't know which kind of data is send with your configuration. I can't reproduce your problem in my side.
I removed the patch and put something to avoid any kind of problem. I will see if I can find some time to reproduce it, for the moment I can't and I can't fix a problem that I can't see or have.

Regards;

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

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

13 years 1 month ago #126382 by Teto
Ok, now we are in the previous situation, with this message:

Warning: Illegal offset type in isset or empty in /home/madeinv1/public_html/test/administrator/components/com_hikashop/classes/field.php on line 1825

If you want I can send you the information to access my test environment so you can verify the problem.

Best
The following user(s) said Thank You: onsitenet

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

13 years 1 month ago #126525 by Jerome
Hi !

Thanks for the accesses. I was able to make a working patch. I just upload a new package with the fix (and other little improvements).

Sorry for the inconvenient and thanks again for the access, it helped a lot !

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: onsitenet

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

13 years 1 month ago #126591 by onsitenet
Everything back to normal, problem solved :)

Thanks Teto and Jerome!

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

Time to create page: 0.073 seconds
Powered by Kunena Forum