Hi,
The mysql error is not in your PHP error log.
But I saw some strange lines about the helper image that I will investigate.
Thanks to the Joomla debug mode, I found the SQL request with the error.
Please edit the file: "administrator/com_hikashop/classes/filter.php" and replace the code
if(!empty($datas['products'])){
$left=' LEFT JOIN '.hikashop_table('variant').' AS b ON a.characteristic_id=b.variant_characteristic_id ';
foreach($datas['products'] as $data){
$option_pid[$data->product_id]=$data->product_id;
}
$query='SELECT product_id FROM '.hikashop_table('product').' WHERE product_parent_id IN ('.implode(',',$option_pid).')';
$database->setQuery($query);
$results=$database->loadObjectList();
foreach($results as $result){
$result_pid[]=$result->product_id;
}
$optionElement='AND b.variant_product_id IN ('.implode(',', $result_pid).')';
}
By:
if(!empty($datas['products'])){
$left=' LEFT JOIN '.hikashop_table('variant').' AS b ON a.characteristic_id=b.variant_characteristic_id ';
$option_pid = array();
foreach($datas['products'] as $data){
$option_pid[$data->product_id]=$data->product_id;
}
$query='SELECT product_id FROM '.hikashop_table('product').' WHERE product_parent_id IN ('.implode(',',$option_pid).')';
$database->setQuery($query);
$results = $database->loadObjectList();
$result_pid = array();
foreach($results as $result){
$result_pid[] = $result->product_id;
}
if(!empty($result_pid))
$optionElement='AND b.variant_product_id IN ('.implode(',', $result_pid).')';
}
It should fix your problem.
Regards,