Skip to main content

Warning on classes/filter.php on line 1417

More
13 years 1 week ago #124852 by Teto
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3.27

Hello

I am installing the new release in my test Environment. In production www.madeinvino.com I have the versione 2.1.2.

With this new release there is a warning when I open the product page.

Warning: Invalid argument supplied for foreach() in /home/madeinv1/public_html/test/administrator/components/com_hikashop/classes/filter.php on line 1417



Is something connected with this release? Could you fix it?

Thanks

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

More
13 years 1 week ago #124860 by Jerome
Hi,

It looks like you have a sort filter but without a sort value.
Can you tell us more about your filter (sort) configuration ?

Regards,

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

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

More
13 years 1 week ago - 13 years 1 week ago #124888 by Teto
Hi

you are right, is something related to this sort filter.



Some products haven't the rating.

If I disable this sort filter the warning disappears.

Could you fix it?

Thanks
Last edit: 13 years 1 week ago by Teto.

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

More
13 years 1 week ago #124946 by nicolas
Hi,

Replace the file administrator/components/com_hikashop/classes/filter.php with the one in the archive enclosed and that should fix the warning.

This attachment is hidden for guests.
Please log in or register to see it.

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

More
13 years 6 days ago #125015 by Teto
Perfect. :)

Will you insert it in the release 2.2.2?

Thanks and regards

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

More
13 years 6 days ago #125093 by nicolas
Of course.

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

Time to create page: 0.207 seconds
Powered by Kunena Forum