Successfully installed the patched plugin, which is now creating a different error. Timeout after 30 seconds.
I unsuccessfully tried to edit the php.ini to allow max time of 180, but it didn't work still timed out after 30 seconds.
Wondering because of the amount of products that it is taking too long to process my store, is there a way to do it in pieces. (break it into smaller chunks)
foreach($categoriesId as $catId){
if($row->product_id==$catId->product_id){
$products[$k]->categories_id[]=$catId->category_id;
}
}
}
$queryImage = 'SELECT * FROM '.hikashop_table('file').' WHERE file_ref_id IN ('.implode(',',$ids).') AND file_type=\'product\' ORDER BY file_ordering ASC, file_id ASC';
$db->setQuery($queryImage);
$images = $db->loadObjectList();
foreach($products as $k=>$row){
$i=0;
foreach($images as $image){
if($row->product_id==$image->file_ref_id){
foreach(get_object_vars($image) as $key => $name){
$products[$k]->images[$i]->$key = $name;
}
}
$i++;
}
}
$db->setQuery('SELECT * FROM '.hikashop_table('variant').' WHERE variant_product_id IN ('.implode(',',$ids).')');
$variants = $db->loadObjectList();