- Posts: 13
- Thank you received: 1
Error message when activating filters
13 years 6 months ago - 13 years 6 months ago #100846
by kimono
Error message when activating filters was created by kimono
Hi all,
I get an error message on the frontent when I activate two different filters. One is for products' properties (colours) and the other is for material. In the articles properties I have defined the colours and the materials in order to be able to use filters.
>> The error message I get is this:
Warning: implode() [function.implode]: Invalid arguments passed in ../administrator/components/com_hikashop/classes/filter.php on line 981
After activating the filters, only the titles of the filters can be seen on the frontend, but nothing else...
Could anyone tell me what that means?
I get an error message on the frontent when I activate two different filters. One is for products' properties (colours) and the other is for material. In the articles properties I have defined the colours and the materials in order to be able to use filters.
>> The error message I get is this:
Warning: implode() [function.implode]: Invalid arguments passed in ../administrator/components/com_hikashop/classes/filter.php on line 981
After activating the filters, only the titles of the filters can be seen on the frontend, but nothing else...
Could anyone tell me what that means?
Last edit: 13 years 6 months ago by kimono.
Please Log in or Create an account to join the conversation.
13 years 6 months ago #100942
by Xavier
Replied by Xavier on topic Error message when activating filters
Hi,
Have you the latest version of HikaShop ?
Can you give us the screenshot of your filters configuration ?
And the corresponding lines where the error is ?
Have you the latest version of HikaShop ?
Can you give us the screenshot of your filters configuration ?
And the corresponding lines where the error is ?
Please Log in or Create an account to join the conversation.
13 years 6 months ago - 13 years 6 months ago #100974
by kimono
Replied by kimono on topic Error message when activating filters
Hi Xavier,
1)my HikaShop Business version is 2.1.2
2)Screenshot No.1:
3)Screenshot No.2:
4)The corresponding lines in "filter.php" are the following. (The second from top is line 981, mentioned in the error message):
I hope you can help me...
1)my HikaShop Business version is 2.1.2
2)Screenshot No.1:
3)Screenshot No.2:
4)The corresponding lines in "filter.php" are the following. (The second from top is line 981, mentioned in the error message):
Code:
if($filter->filter_data=='category'){
if(!($infoGet[0]==$filter->filter_namekey && count($infoGet)==1)){
$categoriesList='';
foreach($infoGet as $cat){
if($cat!=$filter->filter_namekey){
$categoriesList.=(int)$cat.',';
}
}
$categoriesList=substr($categoriesList,0,-1);
$table = 'a';
if(preg_match('#hikashop_product AS ([a-z0-9_]+)#i',$a,$matches)){
$table = $matches[1];
}
$on.=' INNER JOIN '.hikashop_table('product_category').' AS '.$filter->filter_namekey.$i.' ON '.$filter->filter_namekey.$i.'.product_id='.$table.'.product_id AND '.$filter->filter_namekey.$i.'.category_id IN ('.$categoriesList.')';
}
}
I hope you can help me...
Last edit: 13 years 6 months ago by kimono. Reason: image url was wrong...
Please Log in or Create an account to join the conversation.
13 years 6 months ago - 13 years 6 months ago #101468
by nicolas
Replied by nicolas on topic Error message when activating filters
We are not able to reproduce the problem on our end.
Please provide a backend access to your website via our contact form so that we can check your settings.
Please provide a backend access to your website via our contact form so that we can check your settings.
Last edit: 13 years 6 months ago by nicolas.
Please Log in or Create an account to join the conversation.
Time to create page: 0.066 seconds