Hi,
In the HikaShop class field (the file with the warning) you can replace the content
if(!isset($data->product_type)) {
$prodData = $productClass->get($id);
if(!empty($prodData->product_type)) {
$data->product_type = $prodData->product_type;
$data->product_parent_id = $prodData->product_parent_id;
}
}
By
if(is_object($data) && !isset($data->product_type)) {
$prodData = $productClass->get($id);
if(!empty($prodData->product_type)) {
$data->product_type = $prodData->product_type;
$data->product_parent_id = $prodData->product_parent_id;
}
}
That patch already in our repository for the next HikaShop release.
Regards,