Hi,
Thanks for the report.
In the file "administrator/components/com_hikashop/classes/product.php" please replace
} else {
if(!hikashop_acl('product/add'))
return false;
}
By
} else {
$oldProduct = new stdClass();
$oldProduct->categories = array(0);
if(!empty($formProduct['categories']))
$oldProduct->categories = $formProduct['categories'];
JArrayHelper::toInteger($oldProduct->categories);
if(!hikashop_acl('product/add'))
return false;
}
It should fix your issue.
We will include that patch in the next HikaShop release.
Regards,